Skip to content

Request failed with response code 401 #1

@tbadaczewski

Description

@tbadaczewski

I'm getting a 401 when performing a "statuses_userTimeline" request. I'm using the keys and secrets provided by my Twitter application, so I know they are valid.

var codebird = require('cloud/module-codebird').Codebird;
var cb = new codebird();

cb.setConsumerKey(###, ###");
cb.setToken(###,###);

var params = {
    "screen_name": "energy",
    "count": "25"
};

cb.__call(
    "statuses_userTimeline",
    params,
    function (reply) {
       res.type('text/plain');
        res.send(reply);                  
    }
);

Can you confirm this still is working?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions