简体   繁体   English

PHP Twitter Oauth 登录手动获取 access_token

[英]PHP Twitter Oauth login getting access_token manually

I'm working with an existing website!我正在使用现有网站! I have to integrate social registration!我要整合社会登记! With Facebook and VK it's all clear.有了 Facebook 和 VK,一切就都清楚了。 But I can't figure out the way Twitter works.但我无法弄清楚 Twitter 的工作方式。 I need the request token, but can't find the correct way, the correct link which could bring the user to twitter authorization page, after the authorization redirect , and fetch the request token.我需要请求令牌,但找不到正确的方法,在授权重定向之后可以将用户带到 Twitter 授权页面的正确链接,并获取请求令牌。 Any Ideas?有任何想法吗?

我想你会发现这个库有很好的文档记录,并展示了如何管理请求令牌的端到端: https : //twitteroauth.com/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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