xviricel / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

getting "error validating application" when i try to set limit and access token with API calls #379

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.make an API call with limit and access token provided
2.Facebook.api(albumId + "/" + "photos?limit=200&access_token=" + 
MyAccessToken, callbackFunction);

What is the expected output? What do you see instead?

If i just do Facebook.api(albumId + "/" + "photos, callbackFunction); it 
results in the first 25 images. I want to get all the images in an album, so i 
set the limit to 200 and provided my access token. Instead of getting a 
success, i get a failure with this error: 

type: OAuthException
message: Error validating application.

I am consistently following how to do the api call from facebooks site as well 
as plenty of stackoverflow questions. I don't believe my API call is wrong. 

The accessToken is grabbed in the success object when i call facebook.login. 

What version of the product are you using? On what operating system?

I am using version 1.8.1 of the API, windows 7 64 bit, flash builder 4.

Original issue reported on code.google.com by zyrenthe...@gmail.com on 17 Nov 2011 at 1:37

GoogleCodeExporter commented 9 years ago
I ended up using fqlQuery instead.

Original comment by zyrenthe...@gmail.com on 17 Nov 2011 at 6:43