facebook graph api - Desktop App Workflow Error When Logging In -
our desktop application integrates facebook using desktop app workflow , approx. 18 months has been working without problems. however, starting reports users cannot past login process.
when login successful facebook should attaching access_token redirect_uri. our application detects , moves user main part of our facebook integration. appears happening in situations access_token parameter missing causes our application leave our embedded browser window open following message facebook:
"success
security warning: please treat url above password , not share anyone."
what strange not occur facebook accounts , facebook accounts occurs seems changing. example, had report of approx. 1 week ago not duplicate own facebook account or colleague's facebook account. today, still cannot duplicate own facebook account colleague gets problem.
the url our code sends facebook is: https://graph.facebook.com/oauth/authorize?client_id=xxxx&redirect_uri=http://www.facebook.com/connect/login_success.html&type=user_agent&display=popup&scope=read_friendlists,user_photos,friends_photos,user_photo_video_tags,friends_photo_video_tags,user_events,friends_events,user_groups,friends_groups
reading latest api documentation looks recommend different way connect have tried: https://www.facebook.com/dialog/oauth?client_id=xxxx&redirect_uri=http://www.facebook.com/connect/login_success.html&scope=read_friendlists,user_photos,friends_photos,user_photo_video_tags,friends_photo_video_tags,user_events,friends_events,user_groups,friends_groups&response_type=token
rule out our application cause have tried these urls directly within web browser. find when using facebook account browser re-directs success url includes access_token parameter when using colleague's account browser re-directs success url includes access_token , re-directs again success url without access_token.
so... far can tell either:
a) change api cannot find documented anywhere
b) bug in facebook
c) controlled user's facebook security settings
there explain why facebook acting differently different accounts , how can go fixing this?
thanks.
kevin.
i have same problem in desktop applications. , solve careful reading in ht*ps://developers.facebook.com/docs/howtos/login/login-for-desktop/. solution change redirect_uri ht*p://www.facebook.com/... ht*ps://www.facebook.com/...
hope me
nb:
change ht*p http sorry have change http ht*p can post answer.
Comments
Post a Comment