bertrando / facebook-actionscript-api

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

An FQL query to obtain all photos with two albums does not work #202

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. var query:String = "SELECT pid, aid, owner, src, src_big, src_small, link, 
caption, created, modified FROM photo WHERE aid IN ( '1622751608028', 
'1207785754141' ) ";
2. FacebookDesktop.fqlQuery(query, getPhotos2);
3.

What is the expected output? What do you see instead?
The expected output is all photos for the two album id's situated the code 
above.  Instead an empty Object is returned.

What version of the product are you using? On what operating system?
GrapAPIDesktop 1.0 swc and 'GraphAPIDesktop' library folder.  Windwos 7, Flex 
Builder 3.

Please provide any additional information below.

Original issue reported on code.google.com by *chris.g...@ibundle.co.uk on 2 Nov 2010 at 2:18

GoogleCodeExporter commented 9 years ago
Album Ids are unique only for a specific user.  You need to add the owner 
column as part the WHERE clause.  Also you need to be sure that your app has 
requested the necessary permissions to access that owner's photos.  Without 
that, FQL just returns an empty result set.

Original comment by mark.rus...@gmail.com on 8 Feb 2011 at 10:56

GoogleCodeExporter commented 9 years ago
Hey Chris, did you manage to get this working (with Mark's suggestions)? Also 
make sure to switch to the new Graph API (v1.5).

Original comment by rovertn...@gmail.com on 11 Feb 2011 at 9:12

GoogleCodeExporter commented 9 years ago

Original comment by edwar...@gmail.com on 6 Oct 2011 at 4:20