开发者

Twitter App for both iOS and website

开发者 https://www.devze.com 2023-02-11 04:46 出处:网络
I have a twitter app so one can log in to my website with t开发者_如何学Gowitter accounts. Is it possible to use the same twitter app for those who try to log in from a native iOS app? What I ask is i

I have a twitter app so one can log in to my website with t开发者_如何学Gowitter accounts. Is it possible to use the same twitter app for those who try to log in from a native iOS app? What I ask is if was possible to have two callback targets: one for the website and the other for the iPhone app. Thank you


Yes. When you get a request token you can pass a oauth_callback parameter for the location you want the user returned to. Be sure to also pass the oauth_verifier from when the user returns to the callback with the request token during the exchange for an access token. You can read more about it in Twitter authentication section.

0

精彩评论

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