I try using this lib https://code.google.com/p/facebook-actionscript-api/ , but when I call FacebookDesktop.init("820024968051122",loginHandler); I get error:
code: 2500
message: An active access token must be used to query information about the current user.
type: OAuthException
If I call FacebookDesktop.init("820024968051122",loginHandler,"test_user_token"); then all work fine, but where I get token if user is not log in?
伙计,您可以阅读文档 ,在其中可以看到init
下有login
方法,说明: [static] Opens a new login window so the current user can log in to Facebook.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.