2

I'm attempting to get a user's Weibo post with 2/statuses/show. I'm able to get posts made by my own account fine, but when I try to get another user's post I get the error:

{"error":"Permission Denied!","error_code":20112,"request":"/2/statuses/show.json"}

The Weibo docs say (via google translate):

20112: As the author privacy settings, you do not have permission to view this microblogging

Does this mean the author of the post needs to update their permissions to allow the developer account access?

Subtlebot
  • 312
  • 3
  • 15

2 Answers2

1

I also encounter this issue. However, you can still access the post using its user_id and mid (in base62). For instance, you cannot get this post from the API (its id is 10031139424) but you can still see it from your webbrowser.

An alternative is to get the post from its mobile url. Then, you can get its json which is contained in the variable render_data from the body of the html.

thd
  • 2,380
  • 1
  • 25
  • 33
0

Any posts can be setted to be unvisible but for microblogger himself or trusted groups.

So privacy settings lead to your problem.

ruibin
  • 113
  • 9
  • Thanks. The microbloggers claimed that they hadn't set any privacy settings, but they must be set by default? Any idea how they could give us permission? – Subtlebot Oct 28 '15 at 23:02