• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Haughin's twitter library, can't update status w/ basic auth

Hi everyone
Help me please.
I'm using elliot's twitter library, I can read some data (timeline), but I can't update my status with basic auth.

[eluser]Phil Sturgeon[/eluser]
Why not post an error message or some example code? Otherwise we don't know what you doing (or what you are doing wrong).

Thank you for your reply phill, I like your libraries.

But I don't see any error message here.
Here's my code
$username = "twitter_username";
$password = "twitter_password";
$this->twitter->auth($username, $password);

$this->twitter->call('statuses', 'update', array('status' => $this->input->post('status')));

but it's working when I use to read timeline
$data['timeline'] = $this->twitter->call('statuses/user_timeline');

Summer Student -

Did you find the answer? i'm facing the same problem even i can't show timeline for my profile..
Will you give me setting in your config/config.php ?

thanks alot

[eluser]Phil Sturgeon[/eluser]
Well it doesn't matter as Basic Auth is being pulled within the next 8 weeks. Start using oAuth guys.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.