如何从Google Data API for Blogger获取关注者列表?

时间:2021-10-05 07:16:39

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.

我能够获得特定用户profile-id的“创作”博客列表,其响应在JSON中可用。但是,当我尝试请求配置文件(其中包含关注者列表)时,我只能以HTML格式获取结果。

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

有没有办法以数据协议格式(即XML或JSON)获取列表?

1 个解决方案

#1


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:

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

  1. Simply omitted from the API as not essential.
  2. 简单地从API中省略不是必需的。

  3. Intentionally blocked for business reasons.
  4. 出于商业原因故意阻止。

  5. Work in progress (i.e., it will be available in a future release)
  6. 正在进行的工作(即将在未来版本中提供)

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.

有可能通过Google Friends Connect和Google Friends Connect提供这些信息。我一直在阅读一些这些材料(按照Leniel的建议)。但是,我很好奇这将如何尝试与Blogger的关系 - 如果有的话。

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

无论如何,这个任务现在已经死了。谢谢收听!

#1


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:

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

  1. Simply omitted from the API as not essential.
  2. 简单地从API中省略不是必需的。

  3. Intentionally blocked for business reasons.
  4. 出于商业原因故意阻止。

  5. Work in progress (i.e., it will be available in a future release)
  6. 正在进行的工作(即将在未来版本中提供)

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.

有可能通过Google Friends Connect和Google Friends Connect提供这些信息。我一直在阅读一些这些材料(按照Leniel的建议)。但是,我很好奇这将如何尝试与Blogger的关系 - 如果有的话。

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

无论如何,这个任务现在已经死了。谢谢收听!