Facebook C# SDK FacebookApp not recognized -


i using facebook c# sdk 5.0.1 beta , trying use following sample code posted on codeplex:

// using dynamic (.net 4.0 only) var app = new facebookapp(); dynamic me = app.get("me"); string firstname = me.first_name; string lastname = me.last_name; string email = me.email; 

but cannot vs recognize facebookapp(). downloaded sdk today (feb. 9th 2011) , made sure unblock or unlock dlls. running code off of c drive , running vs2010 admin. using vs 2010 4.0 framework (not client). if dont use above code snippet project builds , runs cannot fb login button display (that 2nd issue). weird if copy url (http://localhost:5000/account/login.aspx) firefox login button displays , can log facebook , (i think) authorized. oh, believe have app setup correctly in facebook , copied appid , appsecrect config file. , using ie 8. suggestions? thanks.

try download again. current version 5.0.3. also, documentation in need of updates. have renamed class facebookapp facebookclient.

i have updated documentation page: http://facebooksdk.codeplex.com/wikipage?title=code%20examples


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -