开发者

Can I read FB API information in offline mode? [closed]

开发者 https://www.devze.com 2023-03-05 10:52 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I know FB allows offline mode, b开发者_JAVA技巧ut how to work it?


When getting access permissions from a user to login to your app via facebook, you need to ask permission for offline access in your API call. The auth token that you get back from FB has an expiry on it - if the user gives you offline access permissions, that expiry time is set to be infinite.

For more info on offline access, refer: https://developers.facebook.com/docs/authentication/ and https://developers.facebook.com/docs/authentication/permissions/ (see section under Write Permissions)

0

精彩评论

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