How do you use OAuth for Twitter from the iphone app?

I am looking for a simple example of how to send Tweet from an iphone application. I have seen some very sophisticated methods, but it cannot be so complicated. I registered an application with twitter, so I have a key and a secret. You just need to know where to put them, so I can send a status update and say "sent from MyApp".

+3
source share
3 answers

If you are using MGTwitterEngine, you need to call the following method on your MGTwitterEngine instance:

- (void)setClientName:(NSString *)name version:(NSString *)version URL:(NSString *)url token:(NSString *)token;

, OAuth.

+2

Source: https://habr.com/ru/post/1711894/


All Articles