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
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.
Comments 5 Sort comments:
Trikke Peeters Owner (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!
crispclean (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
Trikke Peeters Owner (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...
crispclean (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
Trikke Peeters Owner (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: