I'm working with the REST API from Twitter, using abraham's twitteroauth lib. I'm trying to get the rate limit status of my api key to be able to show it directly on my admin panel, I'm using something like :
$rate = $connection->get('application/rate_limit_status');
print_r($rate->resources->statuses);
But I have no idea how to get for example only the '/statuses/home_timeline' status. I've tried several things like $rate->resources->statuses->'/statuses/home_timeline'
or $rate->resources->statuses['/statuses/home_timeline']
but nothing seems to work.
Can someone maybe get me on the right way ?
尝试$ rate-> resources-> status - > {'/ statuses / home_timeline'}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.