comparison src/twitter.coffee @ 23:8c56fdbac0fb

wrong return causes error!
author Mathias Gebbe <mgebbe@intevation.de>
date Wed, 18 Jun 2014 13:09:13 +0200
parents b90e6df48d2d
children 08d9679da0f7
comparison
equal deleted inserted replaced
22:b90e6df48d2d 23:8c56fdbac0fb
64 if _.contains(authorization_endpoint, "?") 64 if _.contains(authorization_endpoint, "?")
65 separator = "&" 65 separator = "&"
66 else 66 else
67 separator = "?" 67 separator = "?"
68 authorization_endpoint + separator + "oauth_token=" + rt.token 68 authorization_endpoint + separator + "oauth_token=" + rt.token
69
70 return
71 69
72 getAccessToken: (site, rt, verifier, callback) -> 70 getAccessToken: (site, rt, verifier, callback) ->
73 oa = Twitter.getOAuth(site) 71 oa = Twitter.getOAuth(site)
74 oa.getOAuthAccessToken rt.token, rt.secret, verifier, callback 72 oa.getOAuthAccessToken rt.token, rt.secret, verifier, callback
75 return 73 return
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)