Weibo synchronization questions for help. I want to create an article in the background of my website to automatically synchronize it to Sina Weibo. now, different browsers or computers need to be re-authorized, that is, Weibo can process the login status before sending it; how can I authorize him only once so that he will not be authorized for the next visit? Weibo content synchronization Weibo synchronization problem for help.
I want to create an article in the background of my website to automatically synchronize it to Sina Weibo;
At present, different browsers or computers need to be re-authorized, that is, Weibo processes the login status before sending;
How can I authorize him only once so that he will not be authorized for the next visit?
Weibo content synchronization
Share:
------ Solution --------------------
Check whether Weibo provides the interface for this setting.
------ Solution --------------------
To synchronize the content to Sina Weibo, you should call the api provided by Sina sdk. This api authorization should return a token to you. when you synchronize messages, submit the token again.
Therefore, you only need to save the returned token to your server when the user succeeds for the first time. before the token expires, you can use this token to synchronize the message to Sina Weibo.