Facebook v2.2 login C #

I would like to write code for FacebookLoginDialog.cs programmed in Microsoft Visual Studio 2010 Ultimate in C #. As you may know, Facebook has updated its API to v2.2, and most of the information I find on the Internet is v2.0, and I'm not sure if this is the same.

I tried to watch Facebook v2.0 Login with C # facebook sdk , but I could not access the link provided in it, and this is v2.0.

And every time I run my code, I will encounter this problem when I get to facebook login.

enter image description here

The code was provided by my friend, but she did it one or two years ago before updating her facebook api. In my friends encoding there is no URL (or uri). but it works for her earlier when she started coding.

I do not have access to the created application identifier site. I created a new application id, but to no avail.

Please, help! I really need some help.

0
source share
2 answers

I found how to solve this problem. The problem is not coding, but the facebook developer site.

https://www.facebook.com/help/community/question/?id=542958419109491

Just turn on the "Built-in OAuth Login" button and it will work.

0
source

Please check the URL of the site you mentioned in the Facebook developer section.

I think the problem can arise only for two reasons.

1> Invalid facebook developer site url

2> The navigateUrl parameter should be the same when you send the code for the access token.

0
source

All Articles