How can I get the list of followers from the Google Data API for Blogger?

烂漫一生 提交于 2019-12-25 05:58:10

问题


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)?


回答1:


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!



来源:https://stackoverflow.com/questions/2465149/how-can-i-get-the-list-of-followers-from-the-google-data-api-for-blogger

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!