English 中文(简体)
Oath+Twitter IPhoneSDK
原标题:

Does anyone know of a good example utilizing the twitter API and Oauth authentication for sending Twits iPhone SDK ...........

I got stuck @ sending the twits .........I can make a successful login to twitter Via Oauth+MGTwiiterEngine (Can check the credentials).

Now based on that session I want to know how to send twits..

Or either i can do this thing if i can get username & passsword when doing login...but how can i do that????

Help me in either of case..

最佳回答

Use the following to tweet on some event or Button Action

        if(![_engine isAuthorized]){  
        UIViewController *controller = [SA_OAuthTwitterController controllerToEnterCredentialsWithTwitterEngine:_engine delegate:self];  

        if (controller){  
            [self presentModalViewController: controller animated: YES];  
        } 

    } 


    if(_engine){  
        [_engine sendUpdate:tweetContent];
    }
问题回答

暂无回答




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签