I’m trying to add tweeting to an app I’m working on and I’ve hit a couple of issues that are throwing me for a bit of a loop.
One involves the access token, but I think I just found my problem there… It’s amazing how many times I’ll be typing out a forum post and find my problem while trying to explain it… Its a service I bet you didn’t know the forums even provided 
Any way, the other has to do with the call back URL processing.
My app brings up the login screen. I put in my name and password but it seems that delegate.twitterCancel() gets called and the login window stays open (or reopens… there seems to be a blink in there).
The code from the sample app has this basic structure in it:
if url:find("oauth\_token") and url:find(webURL) then
-- some code extracting the URL's query string, it looks., grabs the access token, and sends the tweet.
elseif url:find(webURL) then
delegate.twitterCancel()
end
In my case, webURL is a global and its an empty string, which in a previous forum post, it was suggested that was a fix. There wasn’t a call back URL put in when the AppID was created.
First, is url:find() basically telling me that all of the string api calls are available on all strings? I didn’t know that a generic string had those methods (much like JavaScript). If so that’s really cool.
Secondly, is url:find("") returning true?
What’s going on to cause this cancel to happen? [import]uid: 19626 topic_id: 27828 reply_id: 327828[/import]