Feb 20, 2009 at 4:52 PM
Edited Feb 20, 2009 at 4:54 PM
I keep getting this error message , it says: "Remote server error: (417) Expectation failed.
I am trying to get the user's name when he activate a button (named button1)
I have already used api.Applicationkey and api.Secret to define my keys and created a new api instance (api =
This is the code I'm using to get this to work:
void Button1_Click(object sender,
api.SessionKey = GetFacebookCookie(
if (api.SessionKey !=
Label1.Text = api.users.getInfo(api.uid).first_name;
"You need to be logged in before using this button.";
Can someone tell me what I'm doing wrong?