Request fields in Python Facebook SDK -


this way fetching /me object:

self.facebook_user = facebook.graphapi(access_token).get_object('me')

but if want, example, request name , id fields /me, how build request?

you can pass in query parameters using **args:

graph = facebook.graphapi(access_token) profile = graph.get_object('me') args = {'fields' : 'id,name,email', } profile = graph.get_object('me', **args) 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -