Create App, get customer API keys, generate access token
Generate Bearer Token
Search
- https://gnip-api.twitter.com/search/:product/accounts/:account/:label.json, retrieve Tweets matching the specified query
- :product, 30day or fullarchive
- :account, account (case sensitive)
- :label, developer environment name
- https://gnip-api.twitter.com/search/:product/accounts/:account/:label/counts.json, retrieve the number of Tweets matching the specified query
- curl
curl -X POST -u "https://gnip-api.twitter.com/search/:product/accounts/:account_name/:label.json" -d '{"query":"TwitterDev "search api"","maxResults":"500","fromDate":"","toDate":""}'