2011-10-31 209 views

回答

1

看到此鏈接可能是它幫助到U

https://github.com/bengottlieb/Twitter-OAuth-iPhone/

這裏的一些代碼

- (void)viewDidAppear: (BOOL)animated { 

    // Twitter Initialization/Login Code Goes Here 
    if(!_engine){ 
     _engine = [[SA_OAuthTwitterEngine alloc] initOAuthWithDelegate:self]; 
     _engine.consumerKey = kOAuthConsumerKey; 
     _engine.consumerSecret = kOAuthConsumerSecret; 
    } 

} 
if([_engine isAuthorized]) 
    { 


     [_engine sendUpdate:@"your posting data"]; 


    } 

進口authtwitterengine

相關問題