I'm using the EpiTwitter getAuthorizeUrl() for Twitter authorization.
On one of my pages, the user can click a 'tweet' button which makes an ajax call. Within the PHP script that ajax calls, I determine if the user has linked to their Twitter account. If they have not, I call getAuthorizeUrl() and send the URL back in the resposeText and then do and window.open on it. Whenever I use this method, the url returns:
"Woah there!
This page is no longer valid. It looks like someone already used the token information you provided. Please return to the site that sent you to this page and try again … it was probably an honest mistake."
The url looks fine, but just doesn't work. Also, I'm using this method in other parts of the site (not via ajax) and it works like a champ.