Retrieve Tweets With User

Get the recent tweets of any user on Twitter.

(no tags)

    Algorithmia Platform License · Internet Access

    This algorithm has Internet access.

    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

    [
      "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 & Use

    Use
    
    curl -X POST -d '{
        "username": "jgage718",
        "numTweets": 10,
        "auth": {
            "app_key": "oar0cW0WMMW8mu7YjtuprlvKZ",
            "app_secret": "hgXxTWWegZVu2V3a5aH4dpdM7CBlIl8WA21Em7L6sgr2vVJzyZ",
            "oauth_token": "802657325148504068-d5nE4asQ6BQn3mQ9bkzFD0AI3sXrRpn",
            "oauth_token_secret": "A44ucD5anYv6lsxWKLbg1RIPLONM6A2Nb09MsZW4O8UOP"
        }
    }' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/twitter/RetrieveTweetsWithUser/0.1.0