[eluser]Naveen Reddy[/eluser]
thank you so much... It worked!!
Well I was calling user timeline.. this is my controller code:
Code:
$twitusername = $this->input->post('twitusername');
$twitpassword = $this->input->post('twitpassword');
$this->load->library('twitter');
$config['username'] = $twitusername;
$config['password'] = $twitpassword;
$this->twitter->init($config);
$data=array();
$data = $this->twitter->statuses_user_timeline();
echo "<pre>";
echo var_dump($data);
echo "</pre>";
echo $data[0]->user->followers_count;
And now I know the way to fetch the data from the returned array.
Just inquisitively want to know one thing.. Am I doing something wrong!?
And if any one can give me a clue that how to send the data received from the twitter to views?!