Questions tagged [twrequest]

42 questions
0
votes
1 answer

Asynchronous Twitter operations in an NSOperationQueue

To download a bunch of Twitter timelines, I created TWRequest objects in a loop and put them into an NSOperationQueue: twitterRequestQueue = [[NSOperationQueue alloc] init]; // Get a reference to a Twitter account NSArray *screenNames =…
nevan king
  • 112,709
  • 45
  • 203
  • 241
0
votes
1 answer

Will my small twitter iOS app be affected by Twitter's user limit?

I'm using the Twitter/Social frameworks to build a small Twitter app. It's not really a client, but you can send tweets from it and do a handful of other things (like view followers). My question is, am I subject to the 100,000 token user limit? I…
Andrew Davis
  • 2,310
  • 1
  • 24
  • 43
0
votes
2 answers

How to make multiple posts to Twitter via iOS?

I am attempting to post to Twitter without user interaction (as this would force the user to hit 'Send' multiple times.). The following is my code: - (void) postToTwitterUsingTWRequest: (NSDictionary*) appDictionary { NSString *trackName =…
0
votes
2 answers

How could Twitter know the source of TWRequest?

I'm just curious. TWRequests use generic ACAccounts which are shared by all apps on iOS. Apps don't specify their own consumer_keys. So how could Twitter know which app a specific TWRequest come from?
an0
  • 17,191
  • 12
  • 86
  • 136
0
votes
1 answer

Error with ACAccount and TWRequest

This is my code TWRequest *twRequest = [[TWRequest alloc] initWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@", kTwitterURLBase, kTwitterMethodHelpConfiguration]] parameters:nil …
emenegro
  • 6,901
  • 10
  • 45
  • 68
0
votes
1 answer

How to synchronize variables with TWRequest performRequestWithHandler in iOS5?

I really couldn't figure out how to deal with iOS5 Twitter API TWRequest performRequestWithHandler. I declared an instance variable of NSMutableArray *parsedTimeLine in my .h file and a method signature of -(void) fetchWebData: (NSString *)…
0
votes
1 answer

TWRequest and ARC - using a value elsewhere in a project

I am using ARC with TWRequest. I have successfully returned a search from twitter and created an array of the results. Here is my code... NSArray *results = [dict objectForKey:@"results"]; //Loop through the results …
Alan
  • 63
  • 7
0
votes
1 answer

Filter retweets in TWRequest

I'm using TWRequest to query twitter. I would like to know how to add +exclude:retweets filters at the end of the URL. This is my code: NSString *searchURL = [NSString stringWithFormat:@"http://search.twitter.com/search.json"]; …
Valerio
  • 513
  • 2
  • 14
0
votes
1 answer

Getting tweets via TWRequest for a tableview

Ok, I'm pretty new to this and been struggling with what you guys may feel is quite an easy exercise. I have trawled high and low and cannot find a good tutorial or walkthrough on how to do this. Basically, I am using the code below to obtain tweets…
Alan
  • 63
  • 7
0
votes
1 answer

Twitter.framework issue

I'm using Twitter.framework to post images to Twitter. I use this code // Create an account store object. ACAccountStore *accountStore = [[ACAccountStore alloc] init]; // Create an account type that ensures Twitter accounts…
Paul T.
  • 4,938
  • 7
  • 45
  • 93
0
votes
1 answer

TWRequest from a dictionary in a tableView Cell

I am trying to propagate a table view with a custom cell with the results of a TWRequest with no luck. I am trying to store the tweets in a dictionary object then calling an ObjectAtKey request and putting into a string. Here is my code - any help…
Alan
  • 63
  • 7
-3
votes
1 answer

how do I put dictionary key into an array

Im not quite sure what I am doing wrong here, I have folloed the tutorials to the letter. here is my problem, I have a dictionary called dict which is the result of a TWRequest - I know it contains tweets because of my log details. I am now trying…
Alan
  • 63
  • 7
1 2
3