Sdk's for getting auth token for posting on facebook / twitter / linked in, then post using nodejs

怎甘沉沦 提交于 2019-12-23 15:09:11

问题


I am developing an iOs application, In which user set his social status, that status will post on schedule time( that can be after 1,2... week ) from cronjob(server side is on nodejs ).

Please suggest me is there any sdk for this, using that I can get offline permission(Auth token [that token is required for posting] ).

I know about ShareKit but it's only sharing things.

I found a similar question on stack but that doesn't have answer:


回答1:


A quick Google search provided some answers.

For Facebook, request permissions using the Facebook SDK. Capture the token:

[[[FBSession activeSession] accessTokenData] accessToken]];

For Twitter, there's an explanation of OAuth, and a GitHub example of reverse OAuth to use for posting on behalf of a user.

For LinkedIn, there's a how-to for getting an OAuth token, and there's a GitHub repo for iOS authentication




回答2:


Not found any sdk, Finally I did my task as traditional way of Installing all sdk's individually.




回答3:


i am not sure, but maybe this is what you are looking forSimpleAuth.



来源:https://stackoverflow.com/questions/26781660/sdks-for-getting-auth-token-for-posting-on-facebook-twitter-linked-in-then

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!