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
pgpy5Xr15aNNU.pgp
Description: PGP signature