0

I'm currently building a Facebook messenger bot, and I wish to create a Django model to store users who communicate with my bot which is built in Django.

The USER API documentation states how to get a user's details, but I don't know how to incorporate it in my Model. Here is a link to the USER API.

Donald
  • 49
  • 3

1 Answers1

1

Make a get request to https://graph.facebook.com/v2.6/?access_token=PAGE_ACCESS_TOKEN with sender id received and your page access token string, you will get a JSON containing some basic information about the user.

singh30
  • 1,335
  • 17
  • 22