Open shorts17 opened 14 years ago
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.
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.