我目前在使用 Blogger API v3 时遇到一个重大问题。
我需要这样的博客文章列表:
https://www.googleapis.com/blogger/v3/blogs/{blogid}/posts
由于某种原因,应该是结果集的一部分的帖子内容数据丢失了。所有其他数据都在那里。
我这边是否有任何可能导致此问题的原因,或者这是 Blogger API 上的错误?
最佳答案
来自 https://groups.google.com/forum/#!topic/bloggerdev/Qxs2APElly0 :
The
fetchBodies
parameter now defaults to false for some reason. Explicitly setting it to true fixes the issue.Here's hoping they reverse the behaviour soon.
我已经确认使用此 URL 会像以前一样返回内容主体:
https://www.googleapis.com/blogger/v3/blogs/{blogid}/posts?fetchBodies=true
Google 也确认很快就会有适当的修复: https://groups.google.com/d/msg/bloggerdev/hHrlcdoU0w8/znGKqSjLkRMJ
关于json - Blogger API 缺少内容数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19242213/