Sina Weibo

Before You Start

You need a Sina Weibo account (which you can create at weibo.com). If you cannot read Chinese, you may want to use a browser that can translate the page for you.

Sina Weibo Provider Setup

To set up Sina Weibo as an identity provider, follow these steps.

  1. Sign in to the Janrain Dashboard (dashboard.janrain.com).
  2. Click the Manage Engage App button corresponding to the property to configure.
  3. On the right side of the page, click the Provider Configuration link. The Provider Configuration page is displayed.
  4. In the list on the right, click Sina Weibo.
  5. Click Configure. This starts the Sina Weibo Setup Wizard.

    setup guide

    Figure 1: Sina Weibo Setup Wizard, Intro Page

  6. Visit http://open.weibo.com/apps/new.
  7. Enter an Application Name (no spaces) and select Web Application as the application type.

    Screen Shot 2015-06-10 at 9.28.30 AM

    Figure 2: Create a New Application

  8. Fill in the following fields (image shown in English, see Figure 3):
    Application Name (应用名称)—Your application’s unique name.
    Application Website (应用地址)—The website on which the Sina Weibo login will be used. This should be a site that Sina Weibo can use to validate that the Sina Weibo login functions, so it may need to be a test site available publicly until the app is approved.
    Application Note (应用简介)—15-character description of the application.
    Application Description (应用介绍)—Long description of the application (must be at least 20 words).
    Security Domain (域名绑定)—Set this to No.
    Label (标签)—Up to three labels that describe how your app is used.
    Official Operating Account (官方运营帐号)—Developer account that you wish to use to represent your company when establishing a Weibo app.

    Figure 3: Apply Basic Information

  9. Add one 16×16, one 80×80, one 120×120, and three 450×300 PNG or JPG images in the image section:

    Screen Shot 2015-06-10 at 9.28.56 AM

    Figure 4: Image Section

  10. In the Advanced section add the callback URL listed in your Janrain Dashboard to the Callback Authorization and Deauthorization fields:

    Figure 5: Advanced Section

  11. Add the API key and secret to your Janrain Dashboard.
  12. To submit for review, you must include additional developer information (if you have not already) including passport/ID information (http://open.weibo.com/developers/identity/edit). Fill in the following fields:
    Real name (真实姓名)—Your name (no spaces allowed, use underscores).
    Whether foreigners (是否外籍)—Select It is (是) if the developer is not Chinese.
    Certificate Type (证件类型)—Select whether you are using an ID card or passport.
    ID Number (证件号码)—The ID number of the chosen card.
    ID Photo (证件照片)—A scan of the identification.

Troubleshooting

Error

Screen Shot 2015-06-10 at 9.29.43 AM

Solution

Check the application website from step 3 and ensure it refers to an accessible website.

Error

403, body -> {"error":"applications over the unaudited use restrictions!","error_code":21321,"..

Solution

The application is in development mode and rate limits are more restrictive. The app must be approved for wide use in production.

Error

“The reason: Since your technical reasons, the application address of the page can not open, please check the server status”

Solution

Ensure that the application website from step 3 refers to an accessible website using Sina Weibo authentication.