Hi,
Has anyone has any luck in getting the Twitter template code to work?
I would like to tweet to a Twitter account via an App.
The code appears to have no validation in terms of username, password, network availability.
The tweet is sent and just disappears into the ether.
From looking through the code, it appears that single http request is launched with the username, password and the tweet:
http.request {
url = "http://" .. username .. ":" .. password .. "@twitter.com/statuses/update.json",
method = "POST",
headers = headerTable,
source = ltn12.source.string( postBody )
}
Could someone point me in the right direction on how to:
a) add error checking
b) get the template code working at all!
Thanks for your help! I’ll be happy to share the final working code if I can get this resolved.
- Nuimo
[import]uid: 87194 topic_id: 26493 reply_id: 326493[/import]