简体   繁体   中英

How to get twitter engagement rate and tweets details using api in php?

I am trying to get tweet(s) details and engagement rate using twitter API in php https://api.twitter.com/1.1/users/show.json?screen_name=[screen_name]

But using above details i get some basic user details and last tweet details by user.

Anyone have idea about it?

You can't get engagement in api.twitter.com

You have to use data-api.twitter.com

https://developer.twitter.com/en/docs/metrics/get-tweet-engagement/overview

You can get engagement , impressions , and lot more.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM