kennylerma / facebook-actionscript-api

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

graph api web getting freinds album not work #327

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

var fql:String = "SELECT name, aid, cover_pid FROM album WHERE owner ="+ 
friendId;               
Facebook.fqlQuery(fql, handleGetAlbumsResponse);

private function handleGetAlbumsResponse(albums:Object, fail:Object):void 
        {   

            var albumAr: Array = albums as Array;   

            if (albums != null)
            {

                de(int(albumAr.length).toString());
            //output is 0  

            }

        }

Original issue reported on code.google.com by dosyaoz...@gmail.com on 14 Jul 2011 at 9:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
By "not work" do you mean that the album length is 0? If so, this could be 
because your friend doesn't allow friends' apps to look at their albums. Have 
you tested with a variety of friends? Are you getting back a fail object at all?

Original comment by rovertn...@gmail.com on 15 Jul 2011 at 7:54