Reputation: 19
I'm looking to build a twitter app. where the user connects, and then my application sends a tweet to their profile. Right now I have a tweet box with my message, but because it's editable it kind of defeats the purpose.
Is this possible?
Upvotes: 0
Views: 385
Reputation: 47883
Use the standard POST statuses/update from the REST API. The users will authenticate with your app then you can show them the text that will be tweeted from their account next to a tweet button. When they hit the button just tweet the text as displayed. There isn't even a textarea for them to edit.
Upvotes: 1
Reputation: 3552
if you want to stop someone editing an input field, you could use something like:
onfocus="this.blur()"
in the HTML tag.
Upvotes: 0