I am working on a web application which is totally based on twitter analytics.i am successfull in fetching the user details and tweets details.But,i am finding problem in fetching the media details,total impressions,promoted tweets,etc. as there is no queries for them in the documentation.
That information is not available in the public API. You’ll either need to download the CSV from the analytics dashboard manually, or use the commercial Gnip Engagement API (Gnip is Twitter’s enterprise API suite).
The Gnip APIs are commercial, subscription-based offerings.