Highlighted

Desktop AIR app and Facebook login

Explorer ,
Jan 19, 2015

Copy link to clipboard

Copied

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 how I get token if user is not log in?

TOPICS
Development

Views

372

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Desktop AIR app and Facebook login

Explorer ,
Jan 19, 2015

Copy link to clipboard

Copied

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 how I get token if user is not log in?

TOPICS
Development

Views

373

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 19, 2015 0

Have something to add?

Join the conversation