We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've tried using the user_timeline() function with a Twitter account that has two updates. It fetches the updates, but it throws an error:
user_timeline()
A PHP Error was encountered Severity: Warning Message: Attempt to assign property of non-object Filename: libraries/Twitter.php Line Number: 99
The line number 99 in Twitter.php is the following:
Twitter.php
$this->user_timeline->text = $this->_parse_message($this->user_timeline->text);
This is my controller:
$this->twitter->auth('oslogeeks', 'secret'); $data['timeline'] = $this->twitter->user_timeline('oslogeeks');
And this is the view:
<ul> <?php foreach ($timeline as $tweet): ?> <li><?php echo $tweet->text ?></li> <?php endforeach; ?> </ul>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've tried using the
user_timeline()
function with a Twitter account that has two updates. It fetches the updates, but it throws an error:The line number 99 in
Twitter.php
is the following:This is my controller:
And this is the view:
The text was updated successfully, but these errors were encountered: