First, you'll need to register your app on Weibo. Follow these steps:
-
Visit http://open.weibo.com/development (Google Chrome's automatic translation works well here)
-
Click the green "创建应用" button
-
Select 网页应用在第三方网页内访问使用 (Web Applications)
-
Complete the registration process
-
Open 应用信息 (Application) -> 高级信息 (Senior Information)
-
Set OAuth2.0 授权回调页 (authorized callback page) to: {{siteUrl}}_oauth/weibo?close