Headline article publishing interface


Function

Publish headline articles


##Calling instructions

The article service interface is an open interface, so it needs to be authorized and authenticated through Weibo OAuth. It can be used after obtaining user authorization. The authentication instructions address: http://open.weibo.com/wiki/Authorization Mechanism Description

HTTP request method

POST


Request URL

https://api.weibo .com/proxy/article/publish.json


Request parameters

QQ截图20170209172205.png##Note: The parameters that require urlencode use PHP's rawurlencode function (that is, spaces are encoded as)


Return data (JSON)

QQ截图20170209172218.png

Other instructions

1. The url address for viewing the article on PC is: http://weibo.com/ttarticle/p/show?id ={id}

2. The url address to view the article on the mobile phone is: http://media.weibo.cn/article?id={id}


##Request example

demo地址:https://github.com/weiboeditor/open
Response example

demo地址:https://github.com/weiboeditor/open
Error code correspondence table


QQ截图20170209172231.png