Sina Weibo

Skip to end of metadata
Go to start of metadata

This page is a step-by-step guide for the process of opening and setting up an external application in Sina Weibo as part of the Gigya Setup process.

Note: If your site is defined under one of Gigya's non-US data centers, replace domain references to (http:// or https://) "socialize.gigya.com" (or "socialize.us1.gigya.com") with "socialize.<DC>.gigya.com". Where <DC> is the region of your Data center (e.g., "socialize.eu1.gigya.com" for European Data center).
Contact your IM to find out the region of your Data center.

Domain references are defined in Gigya's dashboard, externally in social network app definition pages, and when using Gigya's SDKs to set the domain (in particular the APIDomain field in class GSRequest). 

When using any 3rd Party Apps with Gigya, it is important to ensure that you Enable retrieving user contacts from the Permissions page of the Console prior to making your app live. This enables basic username and email retrieval for your users from providers that don't consider this an elevated permission.

Phase 1 - Opening an External Application in Sina Weibo

Note: For your application to work, Sina Weibo has to approve it. You can contact Sina Weibo through: http://e.weibo.com/openapi?ref=http%3A%2F%2Fopen.weibo.com%2Fsupport

  1. Log into your Sina Weibo account and click on the following URL: http://open.weibo.com/development
  2. Click on the orange button.


     
  3. Choose the first option from the left (For Google translate users - the 'Site access' button).



  4. Enter your site name. This field is limited to 10 mandarin characters or 20 alphanumeric characters (no spaces allowed).
    To avoid verification issues, try matching the site name with the title attribute of your home page.
  5. Enter your site domain, without the "http://www." prefix.
  6. Choose your authentication method. This method will be used to verify admin permissions on your domain.
    You can choose to embed verification code in your home page HTML, or add a text file to your website's root directory.
  7. After you have completed step 6, make sure to check that you accept the sina weibo developer agreement and click on the green "Verify and add" button.


    Translated page:
  8. In the Developer Info section, choose whether your app will be for Personal or Company use.

    If you select Company, the fields of the form remain the same, however, you will receive a warning that if you select Company, you may not downgrade to Personal in the future. Recommended best practice is to select Company, otherwise you will not have access to all of the fields in the App Basic Settings page.

    This form does not accept special characters. If you continue to receive warning messages on the form fields, you should remove all special characters (i.e., commas, periods, white-space, etc.). Recommended Best Practice is to always enter Chinese characters only, rather than English, whenever possible.





  9. Next you will reach the developer identity verification page where you will be asked to fill in your identification details.
    In order to proceed, you will have to submit an identification document photo, and complete SMS verification. 
    For the ICP field, you should select whether you are a local (China based) or foreign company. Foreign sites will need to upload a relevant company/site operating license or other comparable official document. 


     
  10. On the next window, enter a short description in the field under your application URL (up to 15 mandarin characters).
  11. Enter a long description (maximum 1000 mandarin characters).
    1. The next field is Secure Domain (). Yes () must be selected here.
    2. A new field will appear, enter in your CName, or if using Gigya servers, enter socialize.gigya.com.

      When using Web App (not Web API Access), this URL must be a 3rd level domain. You must not include your Gigya Data Center in the URL, i.e., it must be socialize.gigya.com not socialize.eu.gigya.com.

  12. Select at least 3 tags from the 'Tags' drop-down list (at least one must be selected).
     
  13. Copy the 'App Key' and 'App Secret' for use in the Gigya console.

  14. At the bottom of the page, upload 2 icons in sizes 16x16 pixels, 80x80 pixels.



  15. When you have finished uploading the images, click on the green button that reads 'save more information'
  16. On the top of the page the 'submit the application for review' button will be enabled. Click it and then click OK on the prompt:


    Translated page:

     
  17. Click on the 4th link on the left 'Interface', and select the Authorization label. This opens the OAuth2.0 authorization page.
    Click on the 'Editor' link on the right to open the call back fields:

     
    Translated page:
  18. In the "call back page" fields enter http://socialize.gigya.com/GS/GSLogin.aspx or http://socialize.eu1.gigya.com/GS/GSLogin.aspx, if you are using Gigya' European data center.
    This page serves both authorization and deauthorization call backs.

    Translated page:

     

    If you are using a CNAME, replace socialize.gigya.com or socialize.eu1.gigya.com with your CNAME instead.

  19. Click on the 4th link on the left 'Interface', and select the Application label. This opens the 申请接口 page (Application Interface).
  20. Check the last box: "用户邮箱高级读取接口" (Read the user's mailbox). 
     


Phase 2 - Configuring Sina Weibo's Application Keys in Gigya's Website

  1. Go to the Dashboard section of Gigya's website.
    Note: If you are not signed in to Gigya, please go to console.gigya.com/ and sign in.
     
  2. Press the "Site Settings" button that corresponds to the domain you wish to configure. You will be redirected to the "Site Settings" page.

     


     
  3. Select the "Provider's Configurations" option.
  4. Select the Sina button.
  5. Paste the 'APP key' and 'Secret Key' you copied from the Sina site in the corresponding places.
    If you use a CNAME, check the box.
    Click the 'ok' button.

     
  6. Click the "Save Settings" button (located at the lower right-hand corner of the page).


That's it, Sina Weibo's configuration is complete!  Please note that it might take up to 10 minutes for our system to become synchronized with Sina Weibo.