I use ShareKit to publish on Twitter and Facebook in my application. Facebook is working fine.
But when I tried to post to twitter, the message “saved” is displayed first, and then the warning message “Error of unknown error” appears immediately, and the message is not sent on Twitter.
Can anyone help me with this.
I searched a lot and can not understand the problem.
I hope for your help. Thanks in advance.
I used the code below:
[SHK setRootViewController:self];
UIImage *im = [UIImage imageNamed:@"newlog.jpg"];
SHKItem *item = [SHKItem image:im title:[NSString stringWithFormat:@"Question: %@ \n \n Answer: %@",t.text,t3]];
item.text=@"The App";
SHKActionSheet *actionSheet1 =[SHKActionSheet actionSheetForItem:item];
[actionSheet1 showInView:self.view];

source
share