Click here to Skip to main content
15,898,373 members
Everything / Facebook API

Facebook API

Facebook-API

Great Reads

by Yvan Rodrigues
The Open Graph protocol specifies additional meta tags that can be added to the page to supplement social networking sites with more information about your page.
by Grasshopper.iics
A Simple Step By Step Guide to Social Network Integration In Android
by Lộc Nguyễn
An example of log-in system with Facebook API v.4
by fioresoft
This tip is a simple Facebook app in Windows 8.1 using free tools like Microsoft Visual Studio 2013 Community Edition

Latest Articles

by Bruno Baia
Spring.NET Social helps you to simplify authentication (OAuth) and API binding with Software-as-a-Service (SaaS) providers such as Facebook and Twitter.
by amartya mandal
Facebook & LinkedIn login with Firebase and Xamarin
by Sem Shekhovtsov
Explaining the new Facebook messenger platform for developing chatbots, with a live example.
by fioresoft
This tip is a simple Facebook app in Windows 8.1 using free tools like Microsoft Visual Studio 2013 Community Edition

All Articles

Sort by Updated

Facebook API 

26 Aug 2011 by #realJSOP
Google reveals all:http://www.microsoft.com/express/samples/facebook/[^]
12 Dec 2011 by #realJSOP
I'm sure you can find out by googling "facebook development", or something equally applicable. Don't be reluctant to use your imagination when searching on google. If you need more search results returned, add "breasts" to to your search phrase.EDIT ==============Really? No sense of...
26 Oct 2012 by 07405
Hi...How to create a facebook business page from my website and after that i need to campaign a template on scheduled time from my website..Thanks in advance.....
20 Jun 2012 by 3PillarLabs
Second article showing Facebook write on wall webpart using Visual Studio 2010.
3 Jun 2013 by _Amy
Refer the links below for similar articles:Fetch and import FaceBook Friends and Contacts with profile pictures in ASP.Net[^]Import Facebook Contacts using Asp.net and C#.net[^]Hope it helps!--Amit
4 Oct 2012 by AakashGupta
Can anyone suggest me how to fetch privacy list of a user through facebook-graph-api or FQL? I need to poll questions on user's facebook-wall using my app giving him option to limit visibility of the questions on UI.
5 Oct 2012 by AakashGupta
Can anyone please tell me how we can add privacy setting while asking question on user's wall?I searched the documentation, but according to it, we can not include privacy option while asking question
11 Oct 2012 by AakashGupta
I want to send notification from app via notification API to a user who has authenticated my app. Can anyone help me regarding it? Any help will be appreciated.Lets say, I want user to get a notification when certain events happens in my appThanks in advance
11 Oct 2012 by AakashGupta
I found its solution myself. Developer need to follow following steps: 1. Download facebook sdk for php from here 2. Run following snippet:require_once "facebook-php-sdk/facebook.php";$facebook = new Facebook();$app_id = YOUR_APP_ID;$app_secret =...
26 Oct 2012 by AakashGupta
Can anyone suggest me how we can send facebook message to a user's friend via app without dialog box? I need to send message in back-end Any help will be appreciatedThanks in advance
23 Feb 2012 by abey e mathews
how to use facebook api in asp.net
12 Oct 2015 by Abhinav Gupta
I am getting the page likes of this link as 1591 using the Facebook API call( Tested directly with facebook api and Apigee console)but when I opened the link then the actual facebook home page is showing likes as...
27 Aug 2011 by Abhinav S
Check outhttp://www.telerik.com/products/fdeck.aspx[^]http://www.redmondpie.com/download-silverlight-4-facebook-client-for-windows-and-mac-9140389/[^]
29 Feb 2012 by Abhinav S
Using the Facebook API should help you. Here are a couple of started kits.http://facebooktoolkit.codeplex.com/[^]http://facebook.codeplex.com/wikipage?title=Getting%20Started[^]
20 Mar 2015 by Abhinav S
As per this documentation[^], a success is returned if the 'like' is a success. Otherwise an error message is returned.If successful:{ "success": true}Otherwise a relevant error message will be returned.
19 Apr 2015 by Abhinav S
If you are looking for logging in with external sites, try -OAuth Signin[^]Logging in using external sites[^]ASP.NET Web API 2 external logins [^]
30 May 2012 by abhinavvijay
http://www.simplyzesty.com/wp-content/uploads/2011/06/facebook-like-buton.png[^]
31 Oct 2012 by Adam R Harris
Check out this jquery pluginhere[^]
28 Feb 2020 by Adrian Seni
Sign in using Facebook Account Connect not work. What I have tried: Your Settings - CodeProject Sign in using your Social Network Account Facebook
28 Feb 2020 by Adrian Seni
Thank you for the advice! I wrote to Bugs and Suggestions.
23 Jan 2012 by afsal.mp
hi I developed a facebook app.. i want to get facebook ID or username of the members who have installed my apps... Any way?... please help me thanks
31 Jan 2012 by afsal.mp
Hii need a help.. i can get profile picture of a facebook user using this code.and also i need first name of that person. how can i get that..please help methanks afsal
1 Feb 2012 by afsal.mp
HI i need to get logged in facebook users access token.. how can i get that..thank you
3 Feb 2012 by afsal.mp
i have created a facebook app... is it possible to get access token of my facebook app users? if possible how to do that?thanks afsal
27 May 2012 by afsal.mp
HI when i check my og:url in my facebook application it shows the errorMissing Required Property: The 'og:url' property is required, but not present.Missing Required Property: The 'og:type' property is required, but not present.Missing Required Property: The 'og:title' property is...
15 Aug 2014 by Afzaal Ahmad Zeeshan
The only bid that might help you in this context would be to go to the Facebook Developers and learn their API. https://developers.facebook.com/?ref=pf[^]You can learn how you can write the script to get posts from Facebook page from there and they'll provide you with an already-set SDK...
6 Nov 2014 by Afzaal Ahmad Zeeshan
There might be a change on the Facebook Graph or their API. You can consult a client from their API to get help in this, if there is no problem in the code execution but just an unsual result, you can try asking them out for help. Or a better option is to check their API, they might have...
27 Dec 2014 by Afzaal Ahmad Zeeshan
You can try using the Newtonsoft.JSON[^] API to deserialize this JSON syntax to an object. That would be converted into an anonymous object, to make sure you get an object that you know how to extract data from. Please create the classes created inside this website,...
14 Apr 2017 by Afzaal Ahmad Zeeshan
No one is interested in paying for a full featured team to create an API for every particular platform — I am an ASP.NET Core developer, and I hate the fact that there are very less frameworks and APIs available to get things working. However, since there is no such library, what you need to...
8 Dec 2013 by Ahmed Sa3d
I have asp page which has article details.and facebook share button. I want a good code for the share button as I tried many codes from searching on internet but doesn't work
8 Dec 2013 by Ahmed Sa3d
I mean: I found just a script for sharing but it doesn't work
18 Oct 2013 by ajitkmr09
Hi i am developing a site where user can register through Facebook.I also added some custom fields.I don't know how to get all the details that a user can entered and pre filled by Facebook.How to get fields value that user entered.I am using c# sdk for facebook.Need assistance. Any...
18 Oct 2013 by ajitkmr09
Hi I want the values of Custom fields during Register through facebook like email and also custom field like register as admin,user.I saw many posts where user login to facebook and store there public data.It not a good idea that user login to facebook and i store there public data to...
19 Oct 2013 by ajitkmr09
this authorization code has expired facebook c# how to authorizeHow can i reauthorize a user in c#.
21 Nov 2014 by Akashjoshi
I Want data like Email , Name , DOB , Gender And profile Photo from the facebook account into DB...I have already created Facebook App..
22 Mar 2014 by Akhil Das
Could i share a iframe using meta tags?.i want to share it in facebook.i have done like belowameurl" content="url" />
5 Oct 2021 by Akshay malvankar
I want to the user directly log in from FB into my application, for that I am using FB SDK, and then I created my new FB account. then it give the following error unable to login in there is an 60 - minutes delay before new accounts can log any...
3 May 2017 by alexandre_brazil
Change string data = FaceBookConnect.Fetch(code, "me") to string data = FaceBookConnect.Fetch(code, "me?fields=email"); the syntax of other variables like UserName, name etc... can be consulted on [https://developers.facebook.com/docs/facebook-login/permissions Example: string data =...
23 Oct 2013 by Ali Babba
Here's a simple two-part tutorial on YouTube:Create a Simple Facebook App (part 1 of 2)Create a Simple Facebook App (part 2 of 2)I suggest you watch video tutorials (YouTube has plenty), you'll learn faster compared to text-only tutorials.
17 Jul 2014 by Ali El-Redeany
I need to create Facebook app and authorize users to it.then make the app post to all users authorized by this appthe key is to post not for the current logged in user but to all authrized usersand how can I create a page for the app so the users can access it
9 Jun 2014 by Alif Marz
Hi,I am currently doing an application which allows users to upload an image to the Facebook Page Album.This is the code:if(e.Uri.ToString().StartsWith("http://www.facebook.com/connect/login_success.html")){ AccessToken = e.Uri.Fragment.Split('&')[0].Replace("#access_token=",...
10 Feb 2013 by alluriganesh
In my application i'm getting logged in user's friend list by using graph api, and i have getting all friends id's and names. My question is that by using these details how can i get his friends list in my app?.
28 Jul 2015 by Allwin456
I'm trying to get user photos link on android using Facebook SDK 4.0 and graph API.I wrote this code to parse and get photos link - new GraphRequest( AccessToken.getCurrentAccessToken(), "/" + userId + "/photos", null, ...
29 Jul 2015 by Allwin456
Replaced URL1 = json.getString("url"); with URL1 = oneAlbum.getString("source");It works now.
30 Apr 2013 by AlphaDeltaTheta
Ok... I donno how you implement likes in your code-behind but from the URL I can guess the problem.In this snippet :You refer every like to a "dynamically generated page" i.e., one generated on the fly according to the data present in the URL parameter 'm'. So in fact all your...
19 Apr 2015 by Am Gayathri
How do i use my own buttons for google login and facebook login?This is my current code,
22 Apr 2015 by Am Gayathri
How do i pass values from javascript to my MVC controller ?Actually am trying to implement sign in with google and facebook in my application.I got some code and its working.But it is client side.So now some javascript functions are there which will get called on successful login of...
17 Jun 2015 by Am Gayathri
How can i identify cloud computing applications? Can i say like Facebook is cloud application ?This is ma worst doubt.May be the stupid question i ever asked here. As per my understanding cloud means storing data,processing data etc using the internet. Example in gmail we can access...
9 Mar 2014 by Aman Yadav
Basically i also want ans of this. Now i am using this trick to share to all group- Demo here
12 Sep 2017 by amartya mandal
Facebook & LinkedIn login with Firebase and Xamarin
26 Oct 2012 by Ambesha
Freind please go through the folloing links, might be useful for you:http://developers.facebook.com/blog/post/395/[^]http://forums.asp.net/t/1714934.aspx/1[^]Using Facebook SDK 3.01 with C#.NET[^]Thanks,Ambesha
1 Jan 2012 by amertarekt
I want to begin to use the facebook API i searched for this and i could find it and begin my first program using it i created an application on facebook and make a windows application program that access this application and get data about me(the owner of the application)but this is...
7 Jul 2013 by Amir Jalilifard
As you can see in Facebook's notification system,When an specified change related with your activities happens,Facebook notifies it to you. The important issue is that if we want to use SignalR to send notifications,we have 2 choices:Using the Client side to call a server method who...
7 Aug 2014 by amirniazi1
Here is my query:SELECT uid,name FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1=582312312)and here is the error:(NoIndexFunctionException - #604) Can't lookup all friends of 582312312 due to user's privacy settings.thank You for help
12 Jul 2013 by amitesh1989
This is quite interesting and difficult for me but i want to create an image gallery in which i can add comment for images. For example i have an datalist in which i get my images from database now when i click one of the images it pop up using light box , i have done that part that quite simple...
3 May 2013 by Amlanjyoti Saikia
Hi,I am trying to learn to create Facebook apps, so I created an App in Facebook Developer. I got the Applicaton ID and Secret. And then I got stumped on the permissions.I understand that the users will see a list of the permissions requested by my app when they login to it, but how are...
30 May 2014 by Andrew Budiman
hello,i need help from anyone that has ever done and solved the problem when trying to use this API, and got an error of The Given Key Was Not Present...i got an error when trying post to facebook timeline., the accesstoken, and facebookid already store in database.and here is the code...
1 Jun 2014 by Andrew Budiman
i've found the answer, it's was i haven't manage and connect my facebook with my apps.for someone has the error code, you need to check the scope of login facebook. {scope : ..} that one.thanks :D
7 Oct 2011 by André Kraak
Have a look at Logout with facebook[^] and see if one of the suggested solutions works for you.However if I understand it correctly there is no way to do it from code-behind.
16 Jun 2014 by Anna Rose Novesteras
Have you ever wonder how it is running.I want to implement it to my asp.net using a Textbox and my Textbox is multiline.I will use the Textbox as a comment box in facebook.Can you give me a link or an idea how to do it. Thanks and Regards.
11 Jan 2012 by Anuja Pawar Indore
See this, might help youFacebook Application Development with FBML, FBJS, ASP.NET and C#[^]http://vatlab.com/asp-net-facebook-controls/invite-friends[^]
29 Feb 2012 by Anuja Pawar Indore
Refer thishttp://www.dotnetobject.com/Thread-Integrate-facebook-chat-with-asp-net[^]and same question on CPFacebook chat integration in my website[^]
13 Apr 2012 by Anuja Pawar Indore
Refer thishttp://www.m-webs.com/blog_facebookcredits.html[^]and this threadhttp://stackoverflow.com/questions/6962995/facebook-credits-with-c-sharp-sdk[^]
19 Feb 2013 by Anurag Sinha V
Hi,the below link might help.[^]there are many articles on codeproject iyself..just search for the word 'facebook' and you will get a number of articles.one of those will have answer to ur queries.hope it helps.regardsanurag
22 Jan 2014 by anushaa ashok
I'm creating an android app , which is not coded in native language , but in jquery.I have the requirement to add FB login to it. I logged in as fb developer and got my app id and app seceret and etc. Did everything according to the documentation for facebook sdk for android.Linked the...
9 Jul 2013 by AnushaMallajo
Hi, I noticed a strange thing on Facebook. I have uploaded 3840 X 2400 image to Facebook.When I downloaded the same image from Facebook, I got an image of 2048 X 1280(Compression ratio = 1.8) . Uploaded 2560 X 1600 and got 960 X 600(Compression ratio = 2.6).I uploaded 1440 X 1280 and got 960...
11 Nov 2014 by Aquib Javed
So there are lots of cases where I have a Facebook friend whom I have friends with because we are members of a larger circle of friends, e.g. we are coworkers, or we went to camp together. In those cases, we will often have a horde of mutual friends (e.g., our fellow coworkers or campmates) so...
19 Jun 2014 by Arsalaan Ahmed
hey Every i am using this code to get profile from facebook but its not working for me... and i am follow this tutorial http://www.androidhive.info/2012/03/android-facebook-connect-tutorial/ i dont know what the problem is this please help me. public void getProfileInformation() { ...
9 Sep 2015 by Arun kumar Gauttam
FB.ui({ method: 'share', href: 'https://developers.facebook.com/docs/',}, function(response){ if (response && !response.error_code) { alert('Sucess'); } else { alert('Error while posting.'); }});I Use above code, but issue is when i click...
26 Sep 2012 by Arunprasath Natarajan
Dear Friends,I have seen in many web-sites that, Register using fb, twitter etc.When user click, It takes to respective login and redirect to registration page.I want to add the same in my website also, where registering using social networks.Kindly suggest and guide me on this.
20 Oct 2012 by Arunprasath Natarajan
Follow this link:Here all the specification are mentioned clearly.Your requirement also illustrated here.Even you don't want to code much, simple HTML coding and Javascript.Check out this[^]
19 Feb 2013 by Asim Mahmood
Simple dear comments only can add that person who is loogedin and receiver id you can save in hidden field or commandargument of link button named as Comments.to send email study this page.http://weblogs.asp.net/scottgu/archive/2005/12/10/432854.aspx[^][]
26 Feb 2012 by asizo
How facebook make the call to my callback function when i subscribe to edge.create event ?I missing here something , when i put a like button in my page facebook create an iframe and inside the iframethey put the like button when i click on the like button in case i registered...
28 Jun 2013 by Astro Abhi
try this window.fbAsyncInit = function() { FB.init({ appId : 'YOUR_APP_ID_HERE', // App ID channelUrl : 'http://localhost.com/channel.html', // Channel File status : true, //...
10 May 2014 by Atanu Mandal
https://github.com/facebook-csharp-sdk/facebook-csharp-sdk/issues/293[^]
2 Mar 2013 by Atul Rokade
i got my own answer :) (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs);}(document,...
2 Mar 2013 by Atul Rokade
iam creating one application where i want to show comment which user giving for that i just think use facebook comment box but iam not getting how can i add facebook comment box in my asp.net3.5 what is step i can use? your all expert advice is useful for me
17 Jul 2014 by Avik Ghosh22
http://www.c-sharpcorner.com/UploadFile/cd7c2e/create-an-app-on-facebook-and-connecting-it-to-Asp-Net-mvc-p/[^]
6 Mar 2013 by Azziet
check these linkshttp://devtacular.com/articles/bkonrad/how-to-retrieve-user-data-from-facebook-connect-in-aspnet/[^]
1 Jan 2017 by Barcelonista Naser
Dear All.I would like to fetch facebook user feed posts in once iterating through all the pages for the users feed.Is there any workaround?What I have tried:public async Task FB_GetFeed() { var access_token =...
7 Jan 2017 by Barcelonista Naser
Code Project, I have a `Json` retrieved from facebook api call. As here below:{"data":[{"id":"1264038093655465_1274837905908817","from":{"id":"1264038093655465","name":"Naser...
9 Dec 2013 by bashar Haydar
Hi, i need to know if i 1. can catch an event when a user make like on my facebook page2. can post like on a specific message on my pfacebook page
11 Oct 2011 by bbirajdar
This one works. I have tested it in my websitehttp://facebooksdk.blogspot.com/2011/06/facebook-logout.html
17 May 2012 by bbirajdar
Each facebook user has a unique id. Its a 12-16 digit unique numeric value. You need to store this value in your database for every user registered in your application.So once you log in , fetch the friends list and check one by one if each of your friend is already registered in the...
1 Aug 2012 by bbirajdar
You need to use this URL directly to get the profile picture in large sizepublic string GetProfileImageUrl(string facebookId) { return "http://graph.facebook.com/" + facebookId + "/picture?type=large"; }More info here...
15 Oct 2012 by bbirajdar
Your question is not clear. You have not mentioned which facebook APIs you are using - FB Connect or Grapfh API. So as per my best guess I am posting these solutions click here[^]Now, whenever a new property listing is added to your website, in the same event you can call the 'post to...
30 Oct 2013 by bbirajdar
You need to mention the ASP.NET version in your question.It comes as a built in template for VS 2012 for asp.net 4.5 . For lower versions you can refer http://dotnetopenauth.net/[^]
3 Feb 2012 by Beula Joyce
I have included facebook Like button widget in my application. It works fine but the image that appears by the side of the link is something I want to keep it dynamic. It is assinging some random image from the site and I am not able to change the URL of the image. Tried open graph tags, but did...
21 Aug 2012 by BHEEM SEN YADAV
Any body can tell me that how to implement Login with Linkedin nad how to pick user information from linkedin?
10 Aug 2014 by Bhushan Shah1988
I want to fetch posts from facebook page. can you anyone suggest any articles or code for this?
30 Oct 2013 by Bhuvanesh Mohankumar
How to Integrate Facebook API for OAuth 1.0 version of Authentication.I need to Authenticate user using the old OAuth 1.0 method.
18 Sep 2013 by Bilaal John S
I think this link will help you for Facebook connectivityhttp://developer.nokia.com/Community/Wiki/Integrate_Facebook_to_Your_Windows_Phone_Application[^]Thanks,Bilaal
23 Oct 2013 by binusn
HiAm new to the Facebook app creation .I would like to create Facebook App . there were some tutorial available. but I could not understand any. my requirement is I need to create page page like https://www.facebook.com/HudsonsCafe/app_259200470778795if any know how to do this, please...