Sdk's for getting auth token for posting on fa

2019-06-24 03:15发布

问题:

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.