Skip to content
New issue

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

Get Status Function not working #6

Open
shorts17 opened this issue Apr 7, 2010 · 1 comment
Open

Get Status Function not working #6

shorts17 opened this issue Apr 7, 2010 · 1 comment

Comments

@shorts17
Copy link

shorts17 commented Apr 7, 2010

I'm trying to retrieve only one status from from my twitter feed but the function getStatus is not working. I've tried all the other functions (getUserTimeline, getMentions, etc) and have had no issues. As soon as I put in the getStatus function I receive this error...

Warning: Missing argument 1 for TwitterBase::getStatus(), called in C:\wamp\www\Website\includes\twitter_status.php on line 13 and defined in C:\wamp\www\Website\includes\twitter.lib.php on line 119

Notice: Undefined variable: id in C:\wamp\www\Website\includes\twitter.lib.php on line 120

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 61: parser error : Entity 'rsaquo' not defined in C:\wamp\www\Website\includes\twitter_status.php on line 15

Any help would be much appreciated.

@clemherreman
Copy link

Notice: Undefined variable: id in C:\wamp\www\Website\includes\twitter.lib.php on line 120

You have your answer here, you don't pass any id to the TwitterBase::getStatus(). Seems you're extracting it from an XML string, but the extraction isn't working.

Problem isn't in the library but in your code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants