I just wanted to get my friends' birthday on facebook using its python api
I tried the query in https://developers.facebook.com/tools/explorer/ with "me/friends?fields=birthday", which works fine, but in my python code it says "GraphAPIError: An active access token must be used to query information about the current user."
I posted my code here:
import facebook
token = 'a token' # token omitted here, this is the same token when I use in https://developers.facebook.com/tools/explorer/
graph = facebook.GraphAPI(token)
fb = graph.request("me/friends?fields=birthday")
# while graph.request("me/friends") works well
print fb
someone helps?