Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AshishChaudhari opened this issue Mar 15, 2013 · 3 comments
Open

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

AshishChaudhari opened this issue Mar 15, 2013 · 3 comments

Comments

@AshishChaudhari
Copy link

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
Copy link
Owner

MunGell commented Mar 16, 2013

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
Copy link
Author

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
#1 (comment).

hi

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

thankx for reply soon

ragards
Ashish

@MunGell
Copy link
Owner

MunGell commented Mar 21, 2013

Can you provide your server/php logs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants