Sina Weibo share all kinds of difficulties ah ... Depressed death. Record it here.
1. Using the interface: Https://api.weibo.com/2/statuses/upload_url_text.json
This can be applied in the interface management, the advanced permissions inside
2. Like callback address Redirect_url This is to fill in, and don't forget
3. Specific passed Parameters: Token parameter: access_token, image address: URL text content: status
4. Request method, post so it can be done.
To verbose the logic of the overall request:
1. Get token,
2. Request data with the token obtained (above four is all about how token is shared)
Your own mistakes must be recorded as well:
The first use is: Https://api.weibo.com/2/statuses/update.json this interface, can only publish text, very simple, you can use
Annoying all: Https://api.weibo.com/2/statuses/upload.json This interface, has not been made through
Let's finish the code later.
I don't know, I can qq:1210337999.
Sina Weibo. Openapi Share pictures + text