Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object.Meteor.userId Error . #11

Open
hamzamu opened this issue Nov 13, 2014 · 1 comment
Open

Object.Meteor.userId Error . #11

hamzamu opened this issue Nov 13, 2014 · 1 comment

Comments

@hamzamu
Copy link

hamzamu commented Nov 13, 2014

Hello , I am getting strange error while running any function other than search !

var stwit = twitter.search('QUERY')

is returning the query results . and : publicTimeline , userTimeline , homeTimeline is returning with Object.Meteor.userId Error ! ..

    var stwit = twitter.publicTimeline();
    console.log(stwit);

Exception in setInterval callback: Error: Meteor.userId can only be invoked in method calls. Use this.userId in publish functions.
at Object.Meteor.userId (packages/accounts-base/accounts_server.js:19)
at Object.Meteor.user (packages/accounts-base/accounts_server.js:24)
TwitterApi.getOauthBindingForCurrentUser (packages/sewdn:twitter-api/lib/twitter.js:64)

I want to query " user_timeline " , ( statuses/user_timeline ) , but it does not has any variable for user screen_name ....

@hamzamu hamzamu changed the title Object.Meteor.userId Object.Meteor.userId Error . Nov 13, 2014
@rubencodes
Copy link

Looks like they probably used Meteor.userId() instead of this.userId at some point. Wonder if it's fixed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants