Esempio n. 1
0
File: models.py Progetto: braskin/pd
 def get_fb_contacts(self):
     from account.graphapi import GraphAPI
     fb_api = GraphAPI(self.access_token)
     res = fb_api.get_connections("me", "friends")
     friends = res["data"]
     return friends
Esempio n. 2
0
 def get_fb_contacts(self):
     from account.graphapi import GraphAPI
     fb_api = GraphAPI(self.access_token)
     res = fb_api.get_connections("me", "friends")
     friends = res["data"]
     return friends