• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 430
  • Last Modified:

How to call facebook login from the login page of website.

I have a login with facebook button, when the user clicks on it, it should call the facebook login as it happens in elance.com
0
searchsanjaysharma
Asked:
searchsanjaysharma
2 Solutions
 
abhishek1986Commented:
If you mean, you will accept facebook users without authentication and users can use their FB useraccount details to log in to your website, you need to have a tie-up with Facebook.
Then you will be linked up with the Authentication server of Facebook and can have authentication with Facebook as well.
0
 
d4durveshCommented:
For this, first you need to have facebook application , to create one use this link,
http://developers.facebook.com/docs/guides/canvas/
also see tutorial on how to create FACEBOOK APPS,
http://net.tutsplus.com/tutorials/javascript-ajax/design-and-code-an-integrated-facebook-app/

and then use Facebook SDK to apply login button on your WEBSITE..

@abhishek: No you dont need to have tie up with facebook to use this service. Its FREE and you can do it on your own.
0
 
searchsanjaysharmaAuthor Commented:
This my login button in a.aspx

<asp:imagebutton id="btni1" ImageUrl="fb.jpg">

This is my web.config
      <appSettings>
            <add key="APIKey" value="403156449697014"/>
            <add key="Secret" value="1a5a550c52ee26ef515eaeda281cc483"/>
      </appSettings>

But still unable to achieve the fb login
0
 
searchsanjaysharmaAuthor Commented:
ok
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now