You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was trying to implement twitter oauth with this lib, but i have that problem: When I open https://api.twitter.com/oauth/authenticate? to get the oauth_verifier I get the problem: "This page is no longer valid. It's looks like someone already used the token information your provider, blabla.."
With this i get the token and token secret, after I call the Twitter Login, thats my implementation:
"use strict";varutility_1=require("../utility");varPROVIDER_NAME="Twitter";varTwitter=(function(){functionTwitter(options){this.twitterOptions=options;this.flowUrl=""}Twitter.prototype.login=function(token,tokenSecret){var_this=this;returnnewPromise(function(resolve,reject){_this.flowUrl="https://api.twitter.com/oauth/authenticate?oauth_token="+token;varbrowserRef=window.cordova.InAppBrowser.open(_this.flowUrl,"_blank","location=no,clearsessioncache=yes,clearcache=yes");browserRef.addEventListener("loadstart",function(event){if((event.url).indexOf(_this.twitterOptions.redirectUri)===0){browserRef.removeEventListener("exit",function(event){});browserRef.close();varparsedResponse=event.url.split("?")[1].split("&");if(parsedResponse){resolve(parsedResponse);}else{reject("Problem authenticating with "+PROVIDER_NAME);}}});browserRef.addEventListener("exit",function(event){reject("The "+PROVIDER_NAME+" sign in flow was canceled");});});};returnTwitter;}());exports.Twitter=Twitter;
Hi, I was trying to implement twitter oauth with this lib, but i have that problem: When I open https://api.twitter.com/oauth/authenticate? to get the oauth_verifier I get the problem: "This page is no longer valid. It's looks like someone already used the token information your provider, blabla.."
Im creating a Request token with node, like:
With this i get the token and token secret, after I call the Twitter Login, thats my implementation:
In the Component I Make:
Someone can help? this can be a feature in the future
The text was updated successfully, but these errors were encountered: