Accessing friends scrap data

0 views
Skip to first unread message

nitinkcv

unread,
Nov 21, 2009, 2:46:12 PM11/21/09
to OpenSocial - OpenSocial Application Development
Hi all,

I was wondering whether it's possible to access the friends scrap
data. Something like which could give me the latest 5 or 10 scraps
details of my friends?

I've seen the code for listing of all the friends:
function response(dataResponse) {
var owner = dataResponse.get('get_owner').getData();
var friends = dataResponse.get('get_friends').getData();
var html = 'Friends of ' + owner.getDisplayName();
html += ':<br><ul>';
friends.each(function(person) {
html += '<li>' + person.getDisplayName() + '</li>';
});
html += '</ul>';
document.getElementById('message').innerHTML = html;
};

Is there somethings in the person object which gives that person's
scrap details?
Also is it actually possible to debug the code somehow, rather than
dumping out log information?

Thanks,
Nitin

nitinkcv

unread,
Nov 23, 2009, 1:11:15 AM11/23/09
to OpenSocial - OpenSocial Application Development
Any pointers would be appreciated..

Pl let me know if this is not the right forum to address this
question?

Thanks,
Nitin

shelly rajput

unread,
Nov 23, 2009, 2:04:12 AM11/23/09
to opensoc...@googlegroups.com


why u want to ur friend scrap data?

nitinkcv

unread,
Nov 25, 2009, 2:04:28 AM11/25/09
to OpenSocial - OpenSocial Application Development
Im planning to build up an app which would have the latest scraps of
my friends.

So is there a way to access that?

Let me know.

Robson Dantas

unread,
Nov 25, 2009, 8:35:11 AM11/25/09
to opensoc...@googlegroups.com
Hi,

There´s no way to get user´s scraps using opensocial.

Regards,

Robson Dantas


2009/11/25 nitinkcv <nitin_1...@yahoo.com>

--

You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group.
To post to this group, send email to opensoc...@googlegroups.com.
To unsubscribe from this group, send email to opensocial-ap...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en.



Nishanth Nair

unread,
Nov 25, 2009, 9:17:05 AM11/25/09
to opensoc...@googlegroups.com
This is because scraps are not part of opensocial standard.
--
Regards,
Nishanth Nair
Mobile: 91-9008855133
http://nishanthnair.com
Reply all
Reply to author
Forward
0 new messages