codebird-php icon indicating copy to clipboard operation
codebird-php copied to clipboard

Retrieve total number of Views, Replies, Favorites, and Retweets

Open Born2DoubleUp opened this issue 6 years ago • 2 comments

Hello, I have a Tweet ID and I'm trying to use CodeBird to retrieve the total amounts of views, replies, favorites, and retweets of that Tweet ID. I tried to use the below code to retrieve how many retweets a tweet has with no luck.

$reply = $cb->statuses_retweets(array('id' => $TweetId));

But that didn't give me back any results. I know the $TweetId is correct, just not sure what I'm suppose to be doin as far as CodeBird is concerned. What would I need to do to get these stats of a tweet? Any help would be appreciated. I've been looking through the github pages and searching google with no luck :*(

Born2DoubleUp avatar Aug 21 '18 16:08 Born2DoubleUp

@Born2DoubleUp Can you tell me a sample Tweet ID?

mynetx avatar Sep 15 '18 12:09 mynetx

@Born2DoubleUp Are you still there?

mynetx avatar Oct 28 '18 14:10 mynetx