如何从Blogger的Google Data API获取关注者列表? [英] How can I get the list of followers from the Google Data API for Blogger?

查看:149
本文介绍了如何从Blogger的Google Data API获取关注者列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够获取特定用户个人资料ID的作者"博客列表,并且其响应在JSON中可用.但是,当我尝试请求配置文件(具有关注者列表)时,我只能以HTML格式获取结果.

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.

有什么方法可以获取数据协议格式(例如XML或JSON)的列表?

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

推荐答案

花了几天时间尝试了不同的API之后,我确信Blogger无法提供关注者列表.我使用了Blogger API,客户端库,并从源代码构建了GData java客户端,以使用Containers和BloggerService类.每个人都以可编程协议的方式提供了对提要的访问(如预期的那样),并且配置文件显示了以下博客的列表(不要与创作的博客混淆),只能以HTML形式返回.这对于编程界面不切实际,因为用户可以选择不显示窗口小部件.为什么没有这个?我认为这是三个原因之一:

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. 仅从API中省略,因为不是必需的.
  2. 由于业务原因故意被阻止.
  3. 进行中的工作(即将在以后的版本中提供)

信息可能会通过Google Friends Connect获得,也可能适用于Google Friends Connect.我一直在阅读其中一些内容(遵循上面Leniel的建议).但是,我很好奇这将如何重回与Blogger的关系-如果有的话.

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!

这篇关于如何从Blogger的Google Data API获取关注者列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆