developers_en's profile page

Netlog Developers

Members: 287

A group for application developer


Forum / Archives / Fetching photo albums with opensocial

Monday, 21 September 2009 at 01:09


http://netlog.com/crispcleancrispcleancrispcleancrispcleanhttp://nl.netlogstatic.com/p/tt/076/316/76316818.jpgBelgiumOost-Vlaanderen crispclean

Does netlog support fetching albums with opensocial?

I'm trying to do something like this:

function fetchAlbums() {
var req = opensocial.newDataRequest();
var idspec = opensocial.newIdSpec({'userId':'VIEWER', 'groupId':'SELF'});

req.add(req.newFetchAlbumsRequest(idspec), 'viewerAlbums');
req.send(fetchAlbumsHandler);
};

function fetchAlbumsHandler(resp) {

};

but that doesn't work.



no rating
RSS feed

Comments 5 Sort comments:

1 – 5 of 5
  • http://netlog.com/trikke_enTrikke PeetersPeetersTrikketrikke_enhttp://en.netlogstatic.com/p/tt/014/033/14033767.jpgUnited KingdomLondon, City of trikke_en 29

    Trikke Peeters Owner Moderator (Wednesday, 30 September 2009 at 04:34)

    - crispclean:
    Great. This works. I used the externalinterface class in as3.

    Now i can also use the payment extension but i've read that a credits key is required in order to get access to the credits api. Can you help me with that?

    thx

    Hello,

    Please contact jochen@netlog.com or christophe@netlog.com

    Thanks!


  • http://netlog.com/crispcleancrispcleancrispcleancrispcleanhttp://nl.netlogstatic.com/p/tt/076/316/76316818.jpgBelgiumOost-Vlaanderen crispclean 29

    crispclean Owner Moderator (Sunday, 27 September 2009 at 22:18)

    Great. This works. I used the externalinterface class in as3.

    Now i can also use the payment extension but i've read that a credits key is required in order to get access to the credits api. Can you help me with that?

    thx


  • http://netlog.com/trikke_enTrikke PeetersPeetersTrikketrikke_enhttp://en.netlogstatic.com/p/tt/014/033/14033767.jpgUnited KingdomLondon, City of trikke_en 29

    Trikke Peeters Owner Moderator (Thursday, 24 September 2009 at 04:58)

    - crispclean:
    thx trikke!

    Now I want to fetch the albums with the opensocial as3 client, but it appears that the "albums" class isnt available in the api. Do you have an as3 extension for that?

    Also i want to use the credit extension with as3. Any suggestions on how to implement this into flash?

    thx


    I'm afraid this is not yet implemented in the actionscript libraries. For the time being, I suggest you use javascript and make a bridge between javascript and flash...


  • http://netlog.com/crispcleancrispcleancrispcleancrispcleanhttp://nl.netlogstatic.com/p/tt/076/316/76316818.jpgBelgiumOost-Vlaanderen crispclean 29

    crispclean Owner Moderator (Wednesday, 23 September 2009 at 00:19)

    thx trikke!

    Now I want to fetch the albums with the opensocial as3 client, but it appears that the "albums" class isnt available in the api. Do you have an as3 extension for that?

    Also i want to use the credit extension with as3. Any suggestions on how to implement this into flash?

    thx


  • http://netlog.com/trikke_enTrikke PeetersPeetersTrikketrikke_enhttp://en.netlogstatic.com/p/tt/014/033/14033767.jpgUnited KingdomLondon, City of trikke_en 29

    Trikke Peeters Owner Moderator (Monday, 21 September 2009 at 06:13)

    Hello,

    We provide a custom extension, more info available on this page:
    http://en.netlog.com/go/developer/documentation...-

    remember, you need to add <require feature="netlog" /> to your spec xml.

Post a comment:

You need to be logged in to post a comment.