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.
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:
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:
Last edited by charlymx (Today 14:01:47)
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??