Connect

django_facebook.connect.connect_user(request, access_token=None, facebook_graph=None, connect_facebook=False)[source]

Given a request either

  • (if authenticated) connect the user
  • login
  • register
django_facebook.connect.update_connection(request, graph)[source]

A special purpose view for updating the connection with an existing user - updates the access token (already done in get_graph) - sets the facebook_id if nothing is specified - stores friends and likes if possible