How to run this code on my facebook dll version 5.0.25.0

Dec 1, 2011 at 9:55 PM

Hi All,

 

How can i run this code in my classes using facebook.dll version 5.0.25.0:

facebook.Components.FacebookService fs = new facebook.Components.FacebookService();
fs.ApplicationKey = ConfigurationManager.AppSettings["APIKey"];
fs.Secret = ConfigurationManager.AppSettings["Secret"];
string sessionKey = dict["facebook_session_key"];
fs.SessionKey = sessionKey;
fs.uid = long.Parse(member.FacebookId);
fs.notifications.send(member.FacebookId, "notification message");

Thread url: http://facebooktoolkit.codeplex.com/discussions/49876?ProjectName=facebooktoolkit

I don't have Facebook.Components namespace in my dll ? is it a web service i need to call ?

Any help is appreciated.

 

Apr 10, 2012 at 6:32 AM

Right click project name, Add References>Browse> choose facebook.dll...