简体   繁体   中英

How do I get the access token for a user?

I am having problem figuring out, how can I do this ?

My app wants authorization, so that it is able to post tweets on user's behalf. 

How does my web-app generate this page ?

在此处输入图片说明

I understand, the need of Access Token to tweet on user's behalf, how do I get them ?

I've had better luck using the Scribe project . Follow this example for an example of Twitter authentication. The example is currently broken though unless you remove line 50.

request.addBodyParameter("status", "this is sparta! *");

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM