Requested value 'xxx' was not found.

Aug 1, 2009 at 6:26 PM


Just started exploring the Facebook API and this dev toolkit but having problems getting started.
I've followed the instructions in the .doc and also tried the sample desktop app.
Both, my test app and the sample app give me the same error after logging in "Requested value 'xxx' was not found."

Can anyone help me with this?


Aug 2, 2009 at 8:35 AM

Are you making an adult website?

Aug 2, 2009 at 2:33 PM

lol... no, not quite. ;)

Aug 2, 2009 at 8:16 PM

Facing the same problem here :(

any solutions ?

Aug 2, 2009 at 11:31 PM
Edited Aug 2, 2009 at 11:36 PM

:::::::::::::::::::::  EDIT  :::::::::::::::::::::

I just realized that you needed help with a desktop application.  My bad.  This code won't help you.  But it may help others.

:::::::::::::::::::::  END OF EDIT  :::::::::::::::::::::


I'm no expert at this API.   I'm just doing what works for me. 

For the login part, I didn't bother using the API.  I think of the API as being best for code-behind work.  For the front-end stuff, I use the Facebook fbml & javascript library.

Here's how I created my login:

1.  Create an HTML file called 'xd_receiver.htm', FB calls this after the user logs in.  No content other than what you see here is needed.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="">
<title>Cross-Domain Receiver Page</title>


2.  Open the .aspx page where you want the login to occur.

    Now, replace


<html xmlns="">




<html xmlns="" xmlns:fb="">


3.  Between the <head> and </head> tags, put this fbml: (Replace apikey with ur api key.


 <script type="text/javascript" src=""></script>
<script type="text/javascript">
 FB.init("YOURAPIKEY", "xd_receiver.htm");
//To reload page after state change (login/logout), use this instead.
  //FB.init("YOURAPIKEY", "xd_receiver.htm", {"reloadIfSessionStateChanged":true});

4. Within the body, place this code wherever you want the button to come up. You can change the button size by specifying 'short', 'medium' or 'long'.
With the API, you can also show the button only when a user is not logged into facebook.
 <fb:login-button length='long'></fb:login-button>

You should be up and running now.


Aug 3, 2009 at 8:27 AM

Well, I would go the same route if I'd develop a web app, but in my case I try to write a desktop app with C#.

Aug 10, 2009 at 3:38 AM

I have the same problem with skafoelix when I try to write a desktop application using C# ! And I don't know about this exception: {"Requested value '...' was not found."}

Please help skafoelix and me! Thank you very much!

Aug 10, 2009 at 5:02 AM

Me too (VB desktop). The Download link from Microsoft pointed me to v1.2 IMHO.

I got "Requested value 'NOTConservative' not found which suggests it was looking for a User's Politics entry.

Downloaded the latest version and it went away.