Facebook Data Deletion Request Callback with Django

Facebook Data Deletion Request Callback with Django

Facebook provide a way to delete a user details from our apps and systems. Some time we use facebook login app for django authentication and its work perfect. But if the user want to delete his facebook book permission from his/her account we should provide a deletion request callback otherwise facebook may deactivate our facebook login app. I get the idea from original doc https://developers.facebook.com/docs/apps/delete-data/

We follow some steps how to create and apply Data deletion request callback with django

  1. Create a restfull django api url that facebook can send callback request
  2. Api url insert in developer.facebook.com
  3. Now delete app access from test facebook account check its work.

 

How to create Facebook Data Deletion Request Callback with Django api

In django api views.py file write below code

In urls.py file do this. Below django version 2

now build your call back url is like https://<websitename>.com/deauthtication

Second step:

Insert your https://<websitename>.com/deauthtication in developer.facebook.com app settings

facebook_deletion_callback

facebook_deletion_callback

Third step:

Go to your demo facebook account and remove your app.

Note : facebook app required https://websitename it not allow http . I inspired to write this article from here https://stackoverflow.com/questions/48609148/handle-facebook-deauthorize-callback-in-python

Shariful Islam Nayon

I am a Senior Software Engineer. Experienced with Microservice Distributed system expert. Have the capability of handling billion over request services with highly scalable containerized backend with cutting edge technologies. I am available for Hire

6 Comments

scr888 free credit no deposit 2018 · September 7, 2018 at 4:42 pm

Good job!! can i share this in my blog ?

Sufiistic · January 7, 2019 at 5:24 am

Good man!

Stephenjearm · January 19, 2019 at 11:13 pm

Hi Look what we arrange an eye to you! exquisitepresent

Reagan · August 21, 2020 at 1:24 am

https://waterfallmagazine.com
These are actually great ideas in regarding blogging. You have touched some pleasant factors here.
Any way keep up wrinting.

My site … core java interview questions

Delila · September 4, 2020 at 1:29 pm

https://waterfallmagazine.com
Woah! I’m really loving the template/theme of this website.
It’s simple, yet effective. A lot of times it’s challenging to get that
“perfect balance” between superb usability and appearance.
I must say that you’ve done a great job with this.
Also, the blog loads extremely quick for me on Internet
explorer. Excellent Blog!

my blog javascript interview questions

Alejandro · October 16, 2020 at 10:06 pm

https://waterfallmagazine.com
I am extremely inspired with your writing skills as
smartly as with the format in your blog. Is that this a paid subject
or did you customize it your self? Either way stay up the excellent high quality writing, it is uncommon to look a great weblog like this one today..

Leave a Reply


Your email address will not be published. Required fields are marked *