Download the PHP package unniks/twitter-powertracker without Composer
On this page you can find all versions of the php package unniks/twitter-powertracker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download unniks/twitter-powertracker
More information about unniks/twitter-powertracker
Files in unniks/twitter-powertracker
Package twitter-powertracker
Short Description A Laravel Package for Twitter Powertrack
License MIT
Informations about the package twitter-powertracker
Twitter Power Tracker
Twitter Power Tracker is the package for connecting and streaming data with twitter's enterprise streaming plans.
Installation
Don't forget to add service provider
Twitter Power Tracker comes with facade. Add following lines in aliases
Publish Vendor Files for configuration
Usage
We need GNIP account before using with this feature. If you have GNIP username and password, add following variables in your .env file
Use this facade
For Rule Creation
if you can pass json format recomended by GNIP console
_
or just pass array of rules like this using ruleCreationByArray()
_
if you need to pass tags as array just use like this
_
note: array index of $tags should have matched to array index of $rules
For Rule Deletion
you can use above mentioned same techniques for
_
and
_
What is rules? Please go through this documentation: https://developer.twitter.com/en/docs/tweets/filter-realtime/overview/powertrack-api
For streaming data
By calling powerStream() data will be continuously streamed to the model app/TwitterPowerTrackerStream.php
For force stopping the live streaming
For 30 days twitter data
Method 1
Method 2
Method 3
Method 4
(use https://support.gnip.com/apis/search_api2.0/api_reference.html for reference)
***** Awaiting Brilliant Contributions for this simple Package **
License
The unniks/twitter-powertracker is open-sourced software licensed under the [MIT license]