using Facebook;
using Facebook.Web;
public pageLoad()
public void fetchFacebookData()
{
var fbApp = new FacebookClient();// error occured at this line
var result = (IDictionary<string, object>)fbApp.Get("me");
var name = (string)result["name"];
}
the above code generated error......
Could not load file or assembly 'Microsoft.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=736440c9b414ea16' or one of its dependencies. The system cannot find the file specified.
my web.config section is as follows
<configSections>
<section name="facebookSettings" type="Facebook.FacebookConfigurationSection,Facebook" allowLocation="true" allowDefinition="Everywhere"/>
</configsection>
<facebookSettings
appId="1xxxxxxxx" appSecret="eeeeeeeeeeeeeeeeeee"/>
</facebookSettings?