Configuration Error: Unrecognized attribute 'FacebookAppID'

Apr 3, 2012 at 2:28 PM

Hi,

I had downloaded the sample code and when i deployed the below is the error i'm getting:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'FacebookAppID'. Note that attribute names are case-sensitive.

Source Error:

Line 13:         <compilation debug="true" targetFramework="4.0" />
Line 14:     </system.web>
Line 15:     <FacebookGraphToolkitConfiguration FacebookAppID="365277356849892" FacebookAppSecret="fb55924b02961f8d03ac5b2cd15c4fed" FacebookAppAddress="http://apps.facebook.com/fbeventsdemo/" PostAuthorizeRedirectURL="Features.aspx">
Line 16:     </FacebookGraphToolkitConfiguration>
Line 17: </configuration>

Source File: C:\iframeapp_2.5_publish\web.config    Line: 15

What could be wrong? 

 

Coordinator
Apr 11, 2012 at 11:25 AM

Looks like you downloaded an old version of the sample. The attributes names have been changed in v3.0. See the blog post at http://computerbeacon.net/blog/facebook-graph-toolkit-v30-update0 .