twitter

twitter / RetrieveTweetsWithUser / 0.1.0

Retrieve Tweets With User

Royalty Free API Calls - 152
Get the recent tweets of any user on Twitter.
No Tags
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.

Run an Example

Input
Output
[
  "There’s a joke here about cyanide, but I’m not sure if I’m the right person to make it https://t.co/mIUQ1hgv0Z",
  "@pt Can I pay you in shitcoin?",
  "Incoming Investment Banking Analyst at Algorithmia",
  "@David_A_Winton Released last week!",
  "Happiness https://t.co/NLSy8zmK3f",
  "@LazAlberto found this version yesterday \nhttps://t.co/J7mtowHtd1",
  "yes https://t.co/nnDWkmroLr",
  "@ashleymayer Well I’m not sure if I liked it, but I’m comfortable with people who are “outsiders” pointing out what… https://t.co/nVt9IAHhNd",
  "@ashleymayer Which places!!!",
  "@ashleymayer Entirely reasonable. Many Jewish men struggle with the concept (as we’re taught, and as I do) of inter… https://t.co/t8ItZkD0S5"
]

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

algo auth
# Enter API Key: YOUR_API_KEY
CLI Install Docs

Use



algo run twitter/RetrieveTweetsWithUser/0.1.0 -d '{
    "username": "jgage718",
    "numTweets": 10,
    "auth": {
        "app_key": "oar0cW0WMMW8mu7YjtuprlvKZ",
        "app_secret": "hgXxTWWegZVu2V3a5aH4dpdM7CBlIl8WA21Em7L6sgr2vVJzyZ",
        "oauth_token": "802657325148504068-d5nE4asQ6BQn3mQ9bkzFD0AI3sXrRpn",
        "oauth_token_secret": "A44ucD5anYv6lsxWKLbg1RIPLONM6A2Nb09MsZW4O8UOP"
    }
}'
  
CLI Docs