See also sae+php SDK Sina Weibo demo (PHP version)

Source: Internet
Author: User
Take a look at the sae+php SDK Sina Weibo demo (PHP version)

1, download the phpsdk of Weibo

Http://code.google.com/p/libweibo/downloads/list

The choice is V2 version,

2, create a micro-blog site application

The callback address (application address in the station) is set here, and the actual address is filled with the application address of the SAE.

3. Create an SAE app, go to the app page, click Code Management, upload the code, select the PHPSDK you just downloaded

4, edit, click Edit Code, open config.php file

Modified, which is available in the Weibo application.

Define ("Wb_akey", ' xxxxxxxxxx ');
Define ("Wb_skey", ' xxxxxxxxxx ');
Define ("Wb_callback_url", ' http://localhost/callback.php ');

Callback page This needs to be changed to the same as the microblogging application address bar, this is OK, this is to access the


  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.