Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter-Twitter Library

..deleted, figured out problem..


This may sound stupid but I’m a newbie to API programming but not a PHP or CodeIgniter newbie. I tried this API and have followed as per below :-

This is just an example, not necessarily the search call.

$this->twitter->auth(’user’, ‘pass’);
$timeline = $this->twitter->search(’trends’);

Now my question is that are all the calls to the API returned as a JSON object array ? Do I have to decode all the calls for the other functions as a JSON object ? Can anybody show some practical examples of a controller with a calls for this API which shows how to decode the JSON and also maybe passing it through the view.

[eluser]Alan Wizemann[/eluser]
Great work, trying it out now. The RSS one from Elliot uses the '?' symbol in the URL. I don't like that, but his library works very well (FYI).

Hello everyone...
I somehow can't update my status..

I'm using this:
$out = $this->twitter->call('statuses/update', array('status' => 'trying the twitter lib'));
answer I get is: NULL

I have also changed config.php with
$config['permitted_uri_chars'] = 'a-z ? 0-9~%.:_\-';
$config['uri_protocol']    = "PATH_INFO";

I wonder why I still can't post the tweets to my account..?

Thank you

Hi hugle,
I have the same problem

[quote author="pragmatical" date="1276099555"]Hi hugle,
I have the same problem[/quote]
hi, try this:

Theme © iAndrew 2016 - Forum software by © MyBB