This project is read-only.

How to use FacebookAPI.dll

Here we will explain how to use FacebookAPI.dll with an website
  1. Create an website.
  2. In web.config>appSettings add the following <add key="GraphBaseUrl" value="" /> (If appSettings tag is missing add one directly below <configuration>
  3. Right click on the project in solution explorer and click on "Add Reference"
  4. Browse to the location where you have downloaded "FacebookAPI.dll" and click OK. This will add the .dll file to your project
  5. Add namespace reference in the pages where you want to integrate Facebook actions
    • using FacebookAPI;
    • using FacebookAPI.Managers;
    • using FacebookAPI.Objects;
    • using FacebookAPI.FacebookProperties;
  • To call various actions create instance of corresponding Manager class and respective functions
  • Output objects come under Objects namespace

Last edited Oct 21, 2011 at 10:18 AM by robinjome, version 3


Nitha Aug 7, 2013 at 7:52 AM 
How to post on my facebook page using this code..?

ramanaamina Aug 7, 2012 at 7:54 AM 
It is giving bad request

ramanaamina Aug 7, 2012 at 7:53 AM 
where can i get documentation or example of this?

lheidrich Apr 12, 2012 at 7:18 PM 

I would like to create a comment but I do not know why...
I am using this:

Comment comment = new Comment();
comment.Message = "face message";

FacebookCommentManager manager = new FacebookCommentManager();
manager.CreateComment("user", comment, "pswd");

Is this correct?


Thumbleweed Oct 28, 2011 at 8:19 AM 
Well, it's my first time to work with facebook in development. So some sort of tutorial for authenticating and reading a feed (statusupdates preferably) would be awesome ^^

robinjome Oct 25, 2011 at 6:26 PM 
Sure. We are in a process of creating a full fledged documentation for the library. Hopefully in a day or 2 it will be released. Meanwhile if any assistance is required post comments and we shall reply for it.

Thumbleweed Oct 25, 2011 at 12:58 PM 
Hi, is there any tutorial of how to use the library? some code examples of how to request a user status from facebook is what i'm actually searching for.