twitterlibphp icon indicating copy to clipboard operation
twitterlibphp copied to clipboard

Get Status Function not working

Open shorts17 opened this issue 15 years ago • 1 comments

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.

shorts17 avatar Apr 07 '10 14:04 shorts17

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.

clemherreman avatar Feb 16 '11 19:02 clemherreman