Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Connect OR Facebook Authorization using OAuth 2.0

Tags:

facebook

I want to allow users to sign in using facebook as well to my website, since the recent release of new Facebook stuff, I am unsure which one to use. Previously, Facebook Connect was used. Now we have Facebook authorization feature, using the OAuth 2.0.

Please tell me which one to use? and Is Facebook Connect going to be obsolete?

I am new to Facebook Development.

like image 516
AJS Avatar asked May 22 '10 14:05

AJS


People also ask

How do I use OAuth2 on Facebook?

In the Settings page, you need to add redirect URL in order to tell Facebook where a user will be redirected back after authorization. I have added http://localhost:8000/auth/facebook/callback as the redirect URL. Click on the SaveChanges button. You will see app id and app secret keys.

Does OAuth2 support Facebook?

OAuth2 won a standards battle a few years ago. It's the only authentication protocol supported by the major vendors. Google recommends OAuth2 for all of its APIs, and Facebook's Graph API only supports OAuth2. The best way to understand OAuth2 is to look at what came before it and why we needed something different.

Where is client OAuth settings in Facebook?

In your Facebook app configuration, click on the Settings tab on the left-hand navigation menu. Then go to the Advanced tab at the top and scroll down to the Client OAuth Settings section.


1 Answers

It's better to use Oauth2 because Facebook Connect is indeed obsolete. The following links helped me a lot to do it:

1 - http://www.asp.net/mvc/tutorials/mvc-5/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on

2 - how to post in facebook from my asp.net mvc 3 website

3 - Architecture for merging multiple user accounts together

4 - http://www.aspsnippets.com/Articles/Post-Publish-and-Share-content-on-users-FaceBook-Wall-using-Graph-API-in-ASPNet.aspx

like image 195
Luis Gouveia Avatar answered Oct 28 '22 19:10

Luis Gouveia