MunGell / Codeigniter-TwitterOAuth

Codeigniter and TwitterOauth library integration
76 stars 62 forks source link

Problem in getting friends/list || followers/list #1

Open AshishChaudhari opened 11 years ago

AshishChaudhari commented 11 years ago

stdClass Object ( [errors] => Array ( [0] => stdClass Object ( [message] => Sorry, that page does not exist [code] => 34 ) ) )

i got the above replay when i try to execute the following statement.

$followers = $this->connection->get('friends/list'); print_r($followers);

is there any issue or what ? im not able to get the list of freinds pls help me

MunGell commented 11 years ago

Hi Ashish,

Try to to do the following:

  1. Open application/libraries/Twitteroauth.php file.
  2. Find this peace of code: public $host = "https://api.twitter.com/1/"; on line 21
  3. Change it to this code: public $host = "https://api.twitter.com/1.1/";

Let me know if it works or not.

Twitter has recently changed the API, so please refer to its documentation here: https://dev.twitter.com/docs/api/1.1/

AshishChaudhari commented 11 years ago

On Saturday 16 March 2013 06:34 AM, Shmavon wrote:

Hi Ashish,

Try to to do the following:

  1. Open |application/libraries/Twitteroauth.php| file.
  2. Find this peace of code: |public $host = "https://api.twitter.com/1/";| on line 21
  3. Change it to this code: |public $host = "https://api.twitter.com/1.1/";|

Let me know if it works or not.

Twitter has recently changed the API, so please refer to its documentation here: https://dev.twitter.com/docs/api/1.1/

— Reply to this email directly or view it on GitHub https://github.com/MunGell/Codeigniter-TwitterOAuth/issues/1#issuecomment-14996846.

hi

if i change this according to your suggestion i got blank screen.

thankx for reply soon

ragards Ashish

MunGell commented 11 years ago

Can you provide your server/php logs?