Microsoft Facebook.dll Error: Incorrect signature (asp.net)

Dec 19, 2009 at 12:15 PM

Hi.

I can not get any user information or friends.
I always resived this error.

I can see the "UserId" and even the profile photo. but nothing else.
not where the problem lies.

I checked the Facebook API documentation and Microsoft DLL documentation and I can not solve it.
Could anyone help me?
Thank you very much.
Carlos


This is the code:
------------------
Dim ConnectSession As New Facebook.Session.ConnectSession(ApiKey, Secret)
Dim Api As New Facebook.Rest.Api(ConnectSession)
Dim mUser As New Facebook.Schema.user

mUser = Api.Users.GetInfo() <---- Here is where the error occurs
Label1.Text = ConnectSession.UserId
Label2.Text = mUser.first_name
------------------


This is the error:
----------
Incorrect signature

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: Facebook.Utility.FacebookException: Incorrect signature
----------

Last edited by charlymx (Today 14:01:47)

Jan 26, 2010 at 2:17 PM

I have also experienced the same trouble, looking for a long time still did not find a solution, people know how to deal with this problem do??