Python Forum
Need help with Django 2.0 + Facebook SDK
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with Django 2.0 + Facebook SDK
#1
Hi there! Did not find any relevant topic for my problem.

The situation:
  1. Developing Django-based web-application.
  2. Authorization via Facebook using django-allauth - it is done, works well.
  3. Need to view Facebook friends on the user's profile using Facebook OpenGraph API - the problem is here!

Code in views.py:
I understand that smth is wrong with user access token. It seems to be a simple question but I`m frozen.
I read Facebook SDK docs and OpenGraph API docs but can`t understand wtf.

How can I handle the issue?
Reply
#2
see: https://medium.com/@jinkwon711/django-al...36444cbc6b
Reply
#3
(Jan-29-2018, 07:01 AM)Larz60+ Wrote: see: https://medium.com/@jinkwon711/django-al...36444cbc6b
Hi! Thanks for your answer but read the post attentively, please. There is no problem with login, it works.
It is a problem in getting logged in user data via OpenGraph API.
Reply
#4
Solved. Thanks to everybody who even thought about the issue :)
Reply
#5
please share so others with the same problem can benifit.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Web scrapping login facebook credentials kosmas9 0 325 Aug-17-2020, 01:33 PM
Last Post: kosmas9
  How to click facebook message button JanelleGuthrie 2 525 May-14-2020, 06:02 PM
Last Post: Larz60+
  Django: How to automatically substitute a variable in the admin page at Django 1.11? m0ntecr1st0 3 987 Jun-30-2019, 12:21 AM
Last Post: scidam
  Application like simpler facebook wall in python framework seidman 1 1,421 Mar-11-2018, 05:07 PM
Last Post: wavic
  facebook friends crawler edithegodfather 12 13,691 Jan-15-2018, 07:07 AM
Last Post: qnkhuat
  I need request POST for Facebook in My Profile Kalet 4 2,016 Sep-27-2017, 05:53 PM
Last Post: Kalet
  Facebook AutoPost badpandahere 6 2,512 Sep-12-2017, 11:20 AM
Last Post: badpandahere
  facebook scraping metulburr 3 5,513 Jun-02-2017, 01:00 AM
Last Post: metulburr
  Scrape Facebook page user posts text stockholm 6 5,109 May-08-2017, 12:24 PM
Last Post: Joseph_f2

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020