开发者

Abraham's Twitter oAuth PHP Library - Store user access tokens in WordPress database?

开发者 https://www.devze.com 2023-02-23 18:03 出处:网络
I am using Abraham\'s Twitter OAuth PHP Library and it is a very good starter. I am working on WordPress and I want to know how i can store the access tokens in the user table of my WordPress database

I am using Abraham's Twitter OAuth PHP Library and it is a very good starter. I am working on WordPress and I want to know how i can store the access tokens in the user table of my WordPress database instead of the sessions so that it is persistent and users c开发者_运维知识库an quickly do stuff.

http://github.com/abraham/twitteroauth


It looks like you can use update_user_meta to save and get_user_meta to set custom values for users.

0

精彩评论

暂无评论...
验证码 换一张
取 消