Apple's 
doco<http://developer.apple.com/library/ios/#documentation/Twitter/Reference/TWTweetSheetViewControllerClassRef/Reference/Reference.html>seems
pretty clear that the built-in Twitter framework is not intended to
send tweets without the user seeing them first.

"you cannot append text, images, or URLs to tweets without the user’s
knowledge"

Miguel has written a complete Twitter app -
https://github.com/migueldeicaza/TweetStation - so I'm sure you can find
the code in there that he uses to send tweets, however I suspect you will
also need to authenticate the user yourself too (as TweetStation does) ~
I'm not sure if you can rely on iOS5's auth in this case.

I vaguely recall martinbowling having some success with this stuff, so
googling his blog/tweets might help...



On Sat, Jun 2, 2012 at 11:12 PM, nphias <[email protected]> wrote:

> Hi there,
>
> I want to adress the API for TWTweetComposeViewController in
> MonoTouch.Twitter
> I have a helper class which allows me to setInitialText and add an image to
> the tweet.
> it is then displayed to user from within my app.
> The user can then choose whether to send or cancel the tweet with the two
> button options.
> This is fine, however I dont want the user to edit the tweet text.
> so i use the method   TWTweetComposeViewController.setEditing(false,false)
>
> This method appears to have no effect in the simulator with the user being
> able to edit the text.
>
> having read other threads it may be possible to avoid user editing with
> TWRequest but using that i cannot add the image.. so its no good
>
> any ideas?
>
>
>
>
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Twitter-without-UI-only-code-tp3906383p4655161.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to