• guilherme++
  • [ 4.3 , 6 ]
login to rate this
.NET BlogEngine 4.0 [non-official]
3021 0
  • guilherme++
  • [ 5.0 , 5 ]
login to rate this
[.NET7] Design Patterns: Facade in a Web Application
1254 0
  • guilherme++
  • [ 5.0 , 4 ]
login to rate this
[.NET7] Design Patterns: Repository in a Web Application
997 1
  • guilherme++
  • [ 5.0 , 6 ]
login to rate this
[.NET7] IP GeoLocation with Dependency Injection and Custom Middleware
1242 0
  • guilherme++
  • [ 5.0 , 3 ]
login to rate this
[.NET7] Weather Forecast with Dependency Injection and Custom Middleware
2864 0
  • guilherme++
  • [ 5.0 , 1 ]
login to rate this
2 ways for creating QR Code using ASP.NET
3321 0
  • guilherme++
  • [ 5.0 , 1 ]
login to rate this
AMD Ryzen 9 home server with Fedora 41 and .NET 8
13 2
  • guilherme++
  • [ 4.5 , 2 ]
login to rate this
ASP.NET MVC Routing with @
3447 0
  • guilherme++
  • [ 5.0 , 1 ]
login to rate this
ASP.NET MVC Routing with Constraints
2375 0
  • guilherme++
  • [ 5.0 , 1 ]
login to rate this
BlogEngine.NET 3.3.5 with a BBQ Sauce
2307 0
  • guilherme++
  • [ 5.0 , 2 ]
login to rate this
BlogEngine.NET 3.3.5 with a BBQ Sauce: Part 2
2324 0
  • guilherme++
  • [ 4.6 , 5 ]
login to rate this
EF7 on .NET Core 7 (Preview): Fedora 35 x Windows 11 (41 Million Rows)
2346 0
  • guilherme++
  • [ 5.0 , 3 ]
login to rate this
Entity Framework Core 6: Fedora 35 x Windows 11 (41 Million Rows)
1680 0
  • guilherme++
  • [ 5.0 , 1 ]
login to rate this
Entity Framework Core 7 (Preview): Fedora 35 x Windows 11 (41 Million Rows)
1572 0
  • guilherme++
  • [ 5.0 , 1 ]
login to rate this
Entity Framework Providers for the .NET BlogEngine
3182 0
  • guilherme++
  • [ 5.0 , 1 ]
login to rate this
Enum as String in EF Core
91 0
  • guilherme++
  • [ 5.0 , 2 ]
login to rate this
Facebook: Data Deletion Callback URL in C#
2395 0
  • guilherme++
  • [ 5.0 , 3 ]
login to rate this
How to fix the Could not load file or assembly 'System.IO.Compression' or one of its dependencies exception
806 0
  • guilherme++
  • [ 5.0 , 1 ]
login to rate this
How to Recover Access to your Account in an ASP.NET Application using the Membership (without decrypting your password)
1248 0
  • guilherme++
  • [ 3.8 , 592 ]
login to rate this
Installing and Configuring Jenkins with GIT to Build and Deploy Your .NET Application
29471 0
  • guilherme++
  • [ 3.8 , 296 ]
login to rate this
Installing and Configuring Jenkins with SVN to Build and Deploy Your .NET Application
32958 1
  • guilherme++
  • [ 5.0 , 2 ]
login to rate this
IP GeoLocation with Unity and Dependency Injection
5919 0
  • guilherme++
  • [ 3.5 , 3 ]
login to rate this
NHibernate Providers for the .NET BlogEngine
2653 0
  • guilherme++
  • [ 5.0 , 3 ]
login to rate this
No mercy for the ORMs: Load and Performance Test on EF Core, NHibernate and pure ADO.NET (41M rows)
1480 0
  • guilherme++
  • [ 5.0 , 2 ]
login to rate this
Resizing images on a Controller Method in ASP.NET Core (.NET 6)
1387 0
  • guilherme++
  • [ 5.0 , 1 ]
login to rate this
Streaming Video Files in ASP.NET MVC
1362 0
  • guilherme++
  • [ 5.0 , 1 ]
login to rate this
Testing your MVC App on XSP/mono in Fedora (before deploying to Apache)
1806 0
  • guilherme++
  • [ 5.0 , 1 ]
login to rate this
Weather with Unity and Dependency Injection
4553 0
  • guilherme++
  • [ 5.0 , 2 ]
login to rate this
Facebook: Data Deletion Callback URL in C#
2395 0

Hi Folks! In this post I will show you how to implement a controller method that is supposed to delete Facebook data from your website, a.k.a. Data Deletion Callback URL. First, clone the repository from GitHub.

Clone the repository here.

Open the DataDeletionCallbackURL solution and head for a controller called SocialNetwork. There will be a method called FacebookDelete. The only important detail I should mention is that the hash is generated using the raw data (Request.Form["signed_request"]), not the one from the split variable, because the extra characters and the replaced characters result in a different hash (and the signature validation fails).

In the method, the only thing you will need to do is replace "Put your APP Secret here" in line 43 with your own app secret. Now, you will have to implement the FacebookInfo method and inform the user that the data was successfully deleted from your website. And that's it!

Don't forget to update the User Data Deletion field in your app settings.

Enjoy!

what to see next
  • guilherme++
  • [ 5.0 , 1 ]
login to rate this
2 ways for creating QR Code using ASP.NET
3321 0
  • guilherme++
  • [ 5.0 , 2 ]
login to rate this
Resizing images on a Controller Method in ASP.NET Core (.NET 6)
1387 0
  • guilherme++
  • [ 5.0 , 1 ]
login to rate this
Weather with Unity and Dependency Injection
4553 0

5/20/2023 3:32:56 AM
rating: 5

5/20/2023 3:32:56 AM
rating: 5
comment section
place your comment here, but login first
be the first to comment
An error has occurred . This application may no longer respond until reloaded . An unhandled exception has occurred . See browser dev tools for details . Reload 🗙