Sharing on twitter using STTwitter?

525 Views Asked by At

I am facing a problem in sharing of Twitter using the STTwitter API. I need to do multiple sharing on a single button click. For example, on the click of a sharing button I need to share the data on Facebook, Twitter and also on Tumblr at the same time.

A problem occurs while sharing on Twitter using the old API. It will open a Tweet sheet which I don't need to open. I want to simply share data on all three without any pop ups. So that's why I'm using STTwitter for sharing on twitter, but it doesn't work properly.

ON CLICK OF SHARE BUTTON I HAVE WRITE THE FOLLOWING CODE:

[[TWAccessTokenGenerator sharedAccessTokenGenerator] initialize];

[self getTwitterTokens];

SOME METHODS :

void)getTwitterTokens
{
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(GettingAccessToken:) name:@"RefreshTwitterAccounts" object:nil];
[[TWAccessTokenGenerator sharedAccessTokenGenerator] refreshTwitterAccounts];
}

And like the above method there are some methods too but it doesn't share the data.

0

There are 0 best solutions below