开发者

Twitter authentication without authorization

开发者 https://www.devze.com 2023-01-03 03:18 出处:网络
I wish to get the tweeter usename of a visitor to my 开发者_如何学JAVAsite. I do not wish to post statuses or access any other information.

I wish to get the tweeter usename of a visitor to my 开发者_如何学JAVAsite.

I do not wish to post statuses or access any other information.

I'd be happy to use OAuth, possibly with a 'Sign in with Twitter' button, but this then takes the user to a page which requests authorization for the application, that I wish to avoid.

Is there a way to get the username without authorization?

Thanks,

Daniel


You can just have a text field with popup, like submit your twitter user name here. That will serve your purpose, You can use that name and can read all public tweets made by him.


I think you need:

http://twitter.com/oauth/authenticate

instead of

http://twitter.com/oauth/authorize

as the user authorization endpoint.

0

精彩评论

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