Welcome Guest, Not a member yet? Register   Sign In
Haughin's twitter library, can't update status w/ basic auth
#1

[eluser]Noor[/eluser]
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.
#2

[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).
#3

[eluser]Noor[/eluser]
Thank you for your reply phill, I like your libraries.

But I don't see any error message here.
Here's my code
Code:
$this->load->library('twitter');
            
$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
Code:
$data['timeline'] = $this->twitter->call('statuses/user_timeline');
#4

[eluser]Unknown[/eluser]
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
#5

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




Theme © iAndrew 2016 - Forum software by © MyBB