Closed Spencatro closed 10 years ago
It seems to me that storing friends is not enabled in your settings. See the docs on settings: http://django-facebook.readthedocs.org/en/latest/django_facebook/settings.html
You can also query the friend data directly from Facebook. Something like graph = user.get_offline_graph() if graph: friends = graph.get('me/friends')
Also see https://developers.facebook.com/tools/explorer?method=GET&path=me%2Ffriends
Calling some instance of a MyCustomProfile object's friends() method returns an empty array. Data is being received from facebook (raw_data contains real data in the database), and I believe I have the necessary permissions turned on (the permissions page when authorizing the app explicitly states "read your friend list"). I'm also getting this issue (the following is the same data posted there, I just placed it here for posterity): https://github.com/tschellenbach/Django-facebook/issues/386
Running on Django 1.5.4 and django-facebook 5.2.10:
Relevant portions of settings.py:
games.models.py
A sample of what raw_data is storing in the database: