i m using AddThis SDK for facebook,twitter and Email share, facebook and Email is nicely working while Twitter is giving error while conecting from my Iphone.
it nice work from my simulator but from iphone twitter not connecting and just display a message in console"Error!"
code:
[AddThisSDK setTwitterViaText:@"QuotesApp"];
[AddThisSDK shareURL:@"http://HazratAliQuotes.com"
withService:@"twitter" title:string description:@"QuotesApp"];
i m using AddThis SDK for facebook,twitter and Email share, facebook and Email is
Share
Try this link to implement Twitter in your application for previous version of iOS
The Previos API of twitter is known as MGTTwitter
For AddThis:
To use Twitter OAuth-enabled sharing, you’ll need to tell the library to do so, and then configure your Twitter consumer key, consumer secret, and callback URL.
Below is the new answer added.
Remove the line
[AddThisSDK setTwitterViaText:@"QuotesApp"];Add the line
[AddThisSDK setTwitterAuthenticationMode:ATTwitterAuthenticationTypeOAuth];and on twitter button pressed create a selector and add the following code as