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
searchsanjaysharmaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
searchsanjaysharmaAuthor Commented:
ok
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.