Questions tagged [fandjango]

Fandjango makes it really easy to create Facebook applications with Django

Definition:

Fandjango is a application which aides in creating apps.

Read the docs for more information on what it can do.

Important Links:

15 questions
4
votes
1 answer

Fandjango Facebook user only returns a few Facebook fields

I am using Fandjango and trying to access the Facebook user's relationship_status and significant_other.name, but it can't find those attributes. My code: from django.shortcuts import render from quiz.models import Quiz, Question from django.http…
berserkia
  • 277
  • 1
  • 2
  • 9
4
votes
3 answers

Create a facebook notification with Django package facepy : [15] (#15) This method must be called with an app access_token

I'm trying to create a facebook notifications with facepy & fandjango but I'm constantly get the same Error, @facebook_authorization_required @csrf_exempt def notify_self(request): token = request.facebook.user.oauth_token.token #user…
Gwenael Larmet
  • 135
  • 1
  • 10
2
votes
0 answers

can't access facebook using fandjango

I have fandjango setup on my django app and I have the "Site URL" pointing to the exact spot where the dynamic page is shown. http://www.example.com/apps/myapp This gives me the following error message box. Given URL is not allowed by the…
voodoogiant
  • 2,118
  • 6
  • 29
  • 49
2
votes
0 answers

Django Lib to create Facebook Canvas App

I found at least three libraries which can be used to create Facebook Canvas Apps on Django: PythonForFacebook - https://github.com/pythonforfacebook/django-facebook Fandjango - https://github.com/jgorset/fandjango Django For Facebook…
Timus83
  • 681
  • 4
  • 12
  • 24
2
votes
1 answer

How to get users access token using facepy for facebook application

I am using fandjango and facepy for building facebook application. So, this is how my code looks. from fandjango.decorators import facebook_authorization_required from facepy import…
Surya
  • 4,824
  • 6
  • 38
  • 63
1
vote
1 answer

FB App opening in new browser rather then FB Canvas if I use DJango Fandjango App

I have a FB App which I created using Fandjango. It works fine if a user logs in to the application for the first time but in case user has used the app earlier and want to open the app, it opens up in independent browser and not in FB Canvas. Any…
user996048
  • 123
  • 2
  • 13
0
votes
1 answer

NameError: name 'execfile' is not defined installing fandjango on Python3

I am trying to install fandjango by using: pip install fandjango However I get the error: Collecting fandjango Using cached fandjango-4.2.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): …
A. Bhatnagar
  • 45
  • 2
  • 9
0
votes
3 answers

facebook authorization error (fandjango)

I'm trying to make my first facebook tab app with django. I did some resarch and found out that fandjago is the best. So I'm using it , but when I try to require users to authorize I use the decorator facebook_authorization_required see :…
Armance
  • 5,350
  • 14
  • 57
  • 80
0
votes
1 answer

Django fandjango migration 4.2

After migration fandjango to version 4.2., I've got an error when I access my facebook application: Exception Value: [u'Enter valid JSON'] Exception Location: /usr/local/lib/python2.7/dist-packages/jsonfield/fields.py in pre_init, line 77 Trace:…
0
votes
0 answers

Redirection after authentication fandjango

I just now started using fandjango and the FANDJANGO_SITE_URL in my settings.py is mydomain.com. But after I call @facebook_authentication_required The app asks me for permission, and after that the URL is somewhat…
Aswin Murugesh
  • 10,831
  • 10
  • 40
  • 69
0
votes
1 answer

How to save and refresh Facebook access token of user (admin)

I am thinking to implement Facebook Wordpress Plugin for bloggers in django (using Fandjango & Facepy). To be specific: The project admin/ developer will be the only person as user. So, the application need to perform /friend_id/feed calls on the…
Surya
  • 4,824
  • 6
  • 38
  • 63
0
votes
2 answers

How should I get Open Graph JSON object to pass in facepy class

I am trying to configure Open Graph in my app such that, when ever a person click a "link" in it, the app should "post" it on his feeds/ timeline/ activity. (I created open graph actions for these features and successfully added meta tags in the…
Surya
  • 4,824
  • 6
  • 38
  • 63
0
votes
1 answer

How to figure out if user is logout from facebook using fandjango app

I am using fandjango app for handling facbook user information. If user is logout from facebook and hit url from same browser, I am getting error Error validating access token: The session is invalid because the user logged out. Can somebody tell…
Invincible
  • 412
  • 3
  • 19
0
votes
1 answer

Apply decorator to context processor

I'm using Fandjango for a Django Facebook Canvas app. To use fandjango, you need to wrap all view functions with @facebook_authorization_required, which makes sure you're authorized, then gives you the variable request.facebook.user. What I want is…
Edan Maor
  • 9,772
  • 17
  • 62
  • 92
0
votes
1 answer

Connect fandjango (Facebook django) user to Django User to add attributes

I'm new to FanDjango, and trying to understand something. I've got everything set up and working beautifully, and I can pole request.facebook.user and get info. But now, I want to develop an application that has more info than just Facebook gives me…
Edan Maor
  • 9,772
  • 17
  • 62
  • 92