Questions tagged [sttwitter]

A comprehensive Objective-C library for Twitter REST API 1.1

A comprehensive Objective-C library for Twitter REST API 1.1 https://github.com/nst/sttwitter

60 questions
5
votes
1 answer

STTwitter CFNetwork internal error NSURLRequest

After looking at this link API mode error I corrected some code using STTwitter. This eradicated one error but made me notice a new CFNetwork error. Whenever I try to fetch statuses using either getHomeTimelineSinceID or…
Gabriel C.
  • 77
  • 9
4
votes
2 answers

Objc to swift bridge `use of undeclared identifier 'cocoarr'`

I'm combining Swift and Objective-C in the same project. I am trying to use STTwitter cocoapod like this: // objective-c // STTwitter category method // - (void)getStatusesLookupTweetIDs:(NSArray *)tweetIDs successBlock:(void…
Daiwei
  • 40,666
  • 3
  • 38
  • 48
4
votes
3 answers

STTwitter Library returns an error when getting tweets list for keyword with special characters

I want to get tweets list using Twitter Search API. But Recently twitter has launched New version-1.1 and it requires authorization. I'm using STTwitter library for interacting with Twitter API. I'm using STTwitter_ios project which you can find…
NSS
  • 721
  • 1
  • 10
  • 23
3
votes
2 answers

Redirect from twitter native app to iOS app after twitter login success

I have to login to my iOS app using Twitter account. CASE 1: If Twitter app is present in iPhone I need to login to twitter app and after login success , i need to redirect back to my app. CASE 2: If twitter app is not present in iPhone , then I…
Aswathy Bose
  • 4,279
  • 4
  • 32
  • 44
3
votes
1 answer

Posting tweet to twitter using STTwitter in iOS

I am using STTwitterAPI for creating app that performs all operations of twitter . I am receiving timeline feeds. But how to post the tweet using the same API . I searched for this however i found only SLComposeViewController to post the tweet which…
user968597
  • 1,164
  • 2
  • 15
  • 30
2
votes
0 answers

STTwitter iOS 8 Unauthorized Error while in iOS7 its working fine

self.twitter = [STTwitterAPI twitterAPIWithOAuthConsumerKey:@"myConsumerKey" consumerSecret:@"myConsumerSecret"]; [self.twitter postTokenRequest:^(NSURL *url, NSString *oauthToken) { …
abhinav
  • 312
  • 1
  • 11
2
votes
1 answer

STTwitter could not post image from iphone

This is my code block that i use to post image to the twitter. NSString *imagePath = [[NSBundle mainBundle] pathForResource:@"info" ofType:@"png"]; UIImage *image = [[UIImage alloc] initWithContentsOfFile:imagePath]; NSData *imageData =…
2
votes
1 answer

Get Twitter Members list

I m trying to get the list of the members of the group iOS Developers from Twitter Groups. I m using STTwitterAPI. I used it to get the news feed of specific account, and it works so fine. But when i tried to get the list of the members by using the…
raed
  • 4,887
  • 4
  • 30
  • 49
2
votes
1 answer

Twitter Authorization Login

I'm using STTwitterto interface with Twitter in an iOS app I'm changing for someone. When I call the twitter authorization page for the first time with the following code: - (void)newUser { [[NetworkManager sharedInstance] resetTwitterAPI]; …
pedroremedios
  • 763
  • 1
  • 11
  • 39
1
vote
1 answer

iOS Twitter OAuth 1.0 returning login/error after authorize instead of callback url

I'm trying to use twitter's oath 1.0 via STTwitter cocoa pod to get a user access token as described here https://developer.twitter.com/en/docs/tutorials/authenticating-with-twitter-api-for-enterprise/oauth1-0a-and-user-access-tokens. I have a…
Ramon Vasconcelos
  • 1,466
  • 1
  • 21
  • 28
1
vote
1 answer

STTwitter swift type 'Any' has no subscript members on getHomeTimeline method

All, I am really new to iOS development so that means I am new to Swift. I have knowledge of other programming languages like c#, PHP, Node JS, etc. However, I have found myself stuck and can't find any answers. I am working with STTwitter and I am…
Optimus24
  • 13
  • 2
1
vote
1 answer

'CFURLCreateStringByAddingPercentEscapes' deprecated in STTwitter Library

I'm using the STTwitter Library in my App and it's been throwing a deprecation warning that says the following: 'CFURLCreateStringByAddingPercentEscapes' is deprecated: first deprecated in iOS 9.0 - Use [NSString…
Gallymon
  • 1,557
  • 1
  • 11
  • 21
1
vote
0 answers

Twitter Screen Name/userID persistence issue

I'm writing an iPhone App for iOS 9 and after. One of my goals for this App is that it should be able to send tweets on behalf of my user through the one or more twitter accounts the user owns. I've integrated the STWitter Library into my App and…
Gallymon
  • 1,557
  • 1
  • 11
  • 21
1
vote
0 answers

Retweet using STTwitter API

I have tried to add the retweet concept in my application using STTwitter API with following method after user authentication: [twitter postStatusRetweetWithID:[NSString stringWithFormat:@"691544087921606656"] successBlock:^(NSDictionary *status) { …
Vishal
  • 8,246
  • 6
  • 37
  • 52
1
vote
0 answers

STTwitter timeout issue with verifyCredentialsWithSuccessBlock in iOS 9

I am trying to fetch tweets for a particular account using STTwitter but getting connection timeout error in iOS 9 for verifyCredentialsWithSuccessBlock method. I am getting the tweets properly in iOS 8.4 but having trouble in iOS 9. There is no…
Ash_B
  • 393
  • 1
  • 3
  • 8
1
2 3 4