AS3 Facebook Mobile API: Error get albums from Facebook Page

76 views
Skip to first unread message

Daniel Ruiz Sanchez

unread,
Apr 14, 2013, 4:32:18 AM4/14/13
to facebook-act...@googlegroups.com

Hello,

I´m creating an mobile app which take albums from a Facebook Page. The page is open, so i don´t need auth. The last week the code was working fine, but today i probe with the same code, without changes, and it doesn´t work. How is it possible?

This is my code:

    
FacebookMobile
.api("/411415125604712/albums", onLoadAlbumsResult); private function onLoadAlbumsResult(result:Object, error:Object):void { if (result && !result.error) { var albums:Array = result as Array; for each(var album:Object in albums) { //to do things with the elements from the array } } else { trace("Error"); } }


If I put only the code from fanpage ("/411415125604712") I don´t get the error, but when I add "/albums", always get the error.

I revised the last Facebook API updates, but there isn´t any update wich affect my app. The more strage is that my mobile app keep working with Facebook API, but my FLA file not. And I don´t change anything.

This code was working the last week, but now, always shows "Error". Please, help me with this problem.

Thank you.


Daniel Ruiz Sanchez

unread,
Apr 22, 2013, 12:46:15 PM4/22/13
to facebook-act...@googlegroups.com
Ok, i´ve discovered what was my problem.  The problem is with my internet connection, i try my app with mi 3G connection on my mobile and tha app works fine, but if i probe with my adsl the app doesn´t work. I try in other ADSL and in the begginings works fine, but few days later, i have the same problem. I think it is because i don´t use any app code to speak with the api.
Reply all
Reply to author
Forward
0 new messages