I am using c# sdk facebook integration from codeplex and getting a strange error:
I have the following in my web.config and get an error that it does not recognize
Compile Error:
Warning 12 C:\Documents and Settings\admin\Desktop\car\Phase_2\tissot\tissot4\Default.aspx: ASP.NET runtime error: Unrecognized configuration section facebook. (C:\Documents and Settings\admin\Desktop\car\Phase_2\tissot\tissot4\web.config line 17) C:\Documents and Settings\admin\Desktop\car\Phase_2\tissot\tissot4\Default.aspx 1 1 tissot4
<facebookSettings
appSecret="################"
appId="$$$$$$$$$$$$$$$$$"
/>
<canvasSettings
canvasPageUrl=http://apps.facebook.com/myapp/
authorizeCancelUrl=http://apps.facebook.com/myapp/
/>
According to the documentation here the
canvasSettings
element should contain the following:canvasPage
authorizeCancelUrl
You have
canvasPageUrl
where as you should be usingcanvasPage
From the article mentioned above: