Created
October 13, 2011 17:19
-
-
Save bradleylin/1284849 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OAConsumer *consumer = [[OAConsumer alloc] initWithKey:"consumer_key" | |
secret:"consumer_secret"]; | |
OAMutableURLRequest *oauthrequest = | |
[[OAMutableURLRequest alloc] initWithURL:"request_url" | |
consumer:consumer | |
token:token | |
realm:nil | |
signatureProvider:[[OAHMAC_SHA1SignatureProvider alloc]init]]; | |
[oauthrequest setHTTPMethod:@"http_method"]; | |
[oauthrequest prepare]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment