Is there a way of detecting a pinned tweet using the array returned from the twitter api? I have print_r the array returned and nothing indicates a tweet is pinned or not.
The method I currently use is
$statuses = $connection->get("statuses/home_timeline", array("count" => 25, "exclude_replies" => true));
The documentation does not mention pinned tweets https://twitteroauth.com/
The user profile showed pinned tweets at some point in the past, but no longer.
https://api.twitter.com/1.1/users/show.json?id=2705321
"has_extended_profile": true,
"default_profile": false,
"default_profile_image": false,
"pinned_tweet_ids": [
451484520316153860
],
"has_custom_timelines": false,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With