Created
April 21, 2017 09:58
-
-
Save coldfumonkeh/d7e94a4375ef9f3b5ccbb9f7a0d6b205 to your computer and use it in GitHub Desktop.
Twitter access details
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// When you have the details stored in the SESSION scope | |
application.objMonkehTweet.setFinalAccessDetails( | |
oauthToken = session['accessToken'], | |
oauthTokenSecret = session['accessSecret'], | |
userAccountName = session['screen_name'] | |
); | |
// When you want to directly pass in the details | |
application.objMonkehTweet.setFinalAccessDetails( | |
oauthToken = 'jlwejfljfew-435434343', | |
oauthTokenSecret = '98908f9we08f09ew890fe09wfwef...', | |
userAccountName = 'whoever' | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think the main problem here is you were referencing the access token details directly like so: session['ewfewf809890f8ewfew'], which, unless you have values in the SESSION scope with those names, won't work.