views:

59

answers:

2

I am able to get the list of 'authored' blogs for a particular user profile-id and its response is available in JSON. However, when I try to request the profile (which has the list of followers), I can only get the result in HTML.

Is there any way to get the list in a data-protocol format (i.e., XML or JSON)?

A: 

Check if this help:

http://code.google.com/apis/opensocial/docs/0.7/devguide.html#ListFriends_Complete

Leniel Macaferi
Leniel, This may be a naive follow-on question, but can open social be used without being a gadget? If so, what doc explains how to install and use the library for a java application?
grmn.bob
grmn.bob, I have no idea if it's possible.
Leniel Macaferi
I am finding bugs with blogger when you try to add a widget that is text based. I did a cut n' paste of the XML code that you refer to into my blog (on blogger.com) and the save function drops off the CDATA and the script node-declarative. The rest of the XML is saved, but its not a functioning widget.
grmn.bob
I think you cannot copy it to a widget on blogger. You must follow the Tutorial from the beginning: http://code.google.com/apis/opensocial/docs/0.7/devguide.html#Writing
Leniel Macaferi
I have been following the tutorial, but it is vague on deployment. I have found that the Google developer doc is cyclic and missing key pieces. So, I also tried adding the "gadget editor" to my iGoogle home page and pasting in code there. All I can get to work is 'hello world' -- not very intesting as a gadget :)
grmn.bob
+1  A: 

After spending several days trying different APIs, I am convinced that the list of followers is not available through Blogger. I worked with the Blogger API, the Client Libraries and built the GData java client from source to use the Containers and BloggerService classes. Each one, provided access to the feeds (as expected) in a programmable-protocol fashion and the profile, which displays the list of following blogs (not to be confused with the authored blogs) -- can only be returned as HTML. This is not practical for a programming interface as the user can choose to not show the widget. Why isn't this available?? I think it is one of three reasons:

  1. Simply omitted from the API as not essential.
  2. Intentionally blocked for business reasons.
  3. Work in progress (i.e., it will be available in a future release)

It is possible that the information is available through and for Google Friends Connect. I have been reading some of that material (following Leniel's suggestion above). However, I am curious how that will try back the relationship to Blogger -- if at all.

Anyway, the task is dead for now. Thanks for listening!

grmn.bob