i'm currently trying to get all birthday dates from my Facebook friends, this is my current approach:
import facebook
app_id = 'XXX'
app_secret = 'XXX'
token = facebook.get_app_access_token(app_id, app_secret)
fb = facebook.GraphAPI(token)
args = {'fields' : 'birthday,name' }
friends = fb.get_object("me/friends",**args)
print(friends)
which prints
facebook.GraphAPIError: An active access token must be used to query information about the current user.
this is expected as i found out this error is because i'm not using a usertoken.
So i temporarily changed the token line to contain a user token, which i created at:
https://developers.facebook.com/tools/explorer/
this then prints:
{'summary': {'total_count': 434}, 'data': []}
It appears to me that it can access all my friends (since i have 434 friends) but neither their birthdays nor their names.
Anyone has an Idea what's going on and what i may do to reach my goal?