PHP code example of pgrimaud / weibo-user-timeline

1. Go to this page and download the library: Download pgrimaud/weibo-user-timeline library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

pgrimaud / weibo-user-timeline example snippets



$api = new Api();
$api->setUserId(6356999361);
$feed = $api->getFeed();

print_r($feed);