Twitter Chat
Thijs Alkemade
thijs at xnyhps.nl
Sat Feb 9 17:40:08 UTC 2013
On Sat, Feb 09, 2013 at 11:26:50AM -0600, Jim Geldermann wrote:
> I'm in the process of writing a gateway plugin and am a bit perplexed as how in instantiate a Twitter chat. The perplexity is what to use as a contact.
>
> In the AIMessageViewController when I look at the aiChat's listObject
>
> NSLog(@"sending the message %@", [[chat listObject] description]);
>
> I get 2013-02-09 11:15:26.477 Adium[9397:303] sending the message (null)
>
> I've tried initiating the chat with nil
>
> _twtChat = [self chatWithContact:nil];
>
> but I get a null error instantiating the chat.
>
> Any help instantiating a chat for Twitter is appreciated.
>
Hello Jim,
What sort of chat are you trying to create, exactly? A Direct Message, or
a public message on the user's timeline?
In the first case, you probably will want to use -contactWithUID:
In the second case, you should use AITwitterAccount's -timelineChat, which
internally is a group chat with all your followers as participants.
Hope this helps,
Thijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 588 bytes
Desc: not available
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20130209/66cc8ab0/attachment.sig>
More information about the devel
mailing list