0
Personal is it possible to list ALL groups of a friend on the face? Like show the groups he is in?
I found this code but it’s not what I want, it just shows friends:
import urllib2
import json
url = 'https://graph.facebook.com/me/friends?access_token=TOKEN'
resp = urllib2.urlopen(url).read()
data = json.loads(resp.decode('utf-8'))
for amigo in data['data']:
print (amigo['name'])