You need to enable JavaScript to run this app.
最新活动
大模型
产品
解决方案
定价
生态与合作
支持与服务
开发者
了解我们

如何解决Blogger私有博客Feeds访问失败问题?需展示最新评论

Fixing Blogger Private Blog Feeds Access to Show Latest Comments

Hey there! I’ve dealt with this exact problem when trying to pull latest comments from a private Blogger blog, so let’s break down the solutions that got it working for me.

1. Use the Authenticated Private Feed URL from Your Dashboard

The biggest mistake I made at first was using the public comment feed URL (like https://yourblog.blogspot.com/feeds/comments/default)—private blogs block this entirely. Instead, grab the personalized authenticated feed from Blogger:

  • Head to your Blogger dashboard, go to Settings > Other
  • Scroll down to the Private Feed section. You’ll see a unique URL tied to your Google account (it has a long auth string in it)
  • Replace your old feed URL with this one. This should immediately grant access to the comment feed since it’s linked to your account’s permissions.

2. Double-Check Your Blog Permissions & Feed Settings

Sometimes it’s just a misconfigured setting that’s blocking access:

  • Make sure the Google account you’re using to access the feed has Owner or Editor rights to the private blog. If you’re using a secondary account, add it as a collaborator first.
  • In Settings > Other, confirm the Allow blog feed option is set to Full (not "None" or "Short"). Even private blogs need this enabled for feeds to function properly.

3. Use OAuth 2.0 for Long-Term/Programmatic Access

If you’re using a custom script (like Python, JavaScript) to display comments, the static private feed URL might expire or cause issues over time. OAuth 2.0 is a more reliable approach:

  • For Python projects, use the google-api-python-client library. Authenticate with your Google account, then call the Blogger API’s comments.list endpoint to fetch the latest comments directly.
  • For web apps, implement Google Sign-In to get an access token. This token lets your app securely access the private blog’s comment data without relying on a static feed URL.

4. Troubleshoot Common Errors

  • 403 Forbidden: This usually means your auth token is invalid or you’re using the wrong URL. Try logging out and back into your Google account in the tool accessing the feed, or grab a fresh private feed URL from the dashboard.
  • Empty Feed: First, confirm there are actual comments on your blog. Then check if your feed settings are set to exclude comments (rare, but possible in advanced settings).

内容的提问来源于stack exchange,提问作者Vincenzo Iavazzo

火山引擎 最新活动