开发者

Offline access to FB graph api from Javascript SDK

How do you query facebook's graph api via the javascript sdk for users that have allready given you permissions (offline access) and whose auth data开发者_如何转开发 you have stored, but who are not currently logged in to facebook?


To answer my question, you can in fact do so. You can use FB.api calls and include the access token at the end of the URL with ?access_token=


I'm not 100% sure of the code you'd need to actually do it, but I think one of the key elements to this would be logging in to the SDK as an application, rather than a Facebook User, as detailed in the documentation @ http://developers.facebook.com/docs/authentication

Have you got an example query that you'd like to make with the SDK?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜