Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I would like to create a webservice to achieve the Like and Share features how facebook. Kindly give me some idea to accomplish this. I don't wanna use the javascript or iframe etc. which are shown in the developers.facebook.com/plugins page. Please tell me about the facebook API for .Net
Posted
Comments
bbirajdar 24-May-12 8:36am    
Do you want to use Facebook APIs or Do you want to create the same functionality in your website?
jokertin92 24-May-12 8:57am    
What I want to do is, user will send his facebook credentials to my webservice which will automatically login to facebook. so that user will not be redirected to the facebook login page. And then I have to share/like the url what the user sends to my webservice using the facebook API.
bbirajdar 25-May-12 1:11am    
Can you show me a website which has this type of functionality? If you show me this functionality somewhere I can provide the code and logic for implementign it..
jokertin92 25-May-12 3:28am    
This is my need, I don't have any site which does the same.
bbirajdar 25-May-12 4:47am    
Right you are.There is no such a website on the internet which authenticates a facebook user using webservice. Because facebook does not have the webservice APIs to authenticate a user.

It implements OAuth 2.0 authentication , according to which a facebook user should be authenticated only on the facebook site and facebook will provide a authentication token for the calling website.

This will avoid the facebook user's username and password to be misused if he enters it on any site other than facebook.

I would recommend you to read about OAuth 2.0

http://oauth.net/2/
http://hueniverse.com/oauth/guide/workflow/

Hi,

please have a look at:

http://csharpsdk.org/docs/web/getting-started[^]

And this solutions from yesterday:

About Facebook C# SDK[^]

Regards
 
Share this answer
 
v2
Comments
jokertin92 25-May-12 3:31am    
!!!!!
I've already done it using javascript and html. But my requirement is, user will send his facebook credentials to my webservice which will automatically login to facebook. so that user will not be redirected to the facebook login page. And then I have to share/like the url what the user sends to my webservice using the facebook API.
Shahin Khorshidnia 26-May-12 12:12pm    
I think it's perfect enough. My +5
Here is the CP article for you.

Getting Started with Facebook Desktop (Client) Applications, C#, WPF / XAML and JSON[^]

go to http://developer.facebook.com for more information

Thanks
--RA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900