-1

我正在尝试让用户 home_timeline:

<?php

  require_once('tmhoauth/tmhOAuth.php');

  $connection = new tmhOAuth(array(
    'consumer_key' => '*******',
    'consumer_secret' => '*******',
    'user_token' => '********',
    'user_secret' => '*********',
  )); 

  $connection -> request('GET', $connection -> url('1/statuses/home_timeline.json?include_entities=true'));

 echo($connection -> response['code']);
?>

它返回错误代码 200。

有任何想法吗?

4

1 回答 1

1

如果 Twitter API 返回 200,一切正常:https ://dev.twitter.com/docs/error-codes-responses

于 2012-07-30T02:09:09.543 回答