tschellenbach / Django-facebook

Facebook open graph api implementation using the Django web framework in python
http://www.mellowmorning.com/
Other
1.42k stars 542 forks source link

Docs - Mobile registration #439

Open tschellenbach opened 10 years ago

Rjak commented 10 years ago

I am fighting with this right now.

I am brand new to this company, brand new to Facebook auth and django-facebook, and only intermediate with Django.

The company who does our UI work has created an app using phonegap. When a user initially signs in, they have a signed request. They pass this to /facebook/connect and they get a proper response and everything works fine.

However, in order to support single signin and not require the user to enter their Facebook credentials every time they want to use our app, they apparently make a request to the Facebook app on iOS or Android, and what they get back is not a signed request, but an access token. Passing this access token to django-facebook does not result in a proper authentication. I have noticed that our user objects all have an access_token field now, but it is never populated, nor is the "Facebook users" table.

Still reading through the django-facebook docs trying to understand how this should all work, but it would be great to have a mobile section.