Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7398599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T03:53:23+00:00 2026-05-29T03:53:23+00:00

I have successfully integrated Twitter Sharekit with my iPad application source. When I tested

  • 0

I have successfully integrated Twitter Sharekit with my iPad application source. When I tested the app on simulator and iPad 1 with iOS 4.X it was working perfect and tweets were successfully posted. But the same package if I install on iPad 2 with iOS 5, tweet can’t be posted and it just shows Authorize app message continuously. I can’t find any other issue with this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T03:53:24+00:00Added an answer on May 29, 2026 at 3:53 am

    Use the native Twitter available with the iOS 5 to integrate twitter. On one hand the UI is fabulous and on the other you will not have any problem using SharKit. Though I must tell you ShareKit is the best option for iOS versions below 5.

    To use native Twitter integration do the following.
    Add these statements to the your class after including the necessary frameworks

    #if defined(__IPHONE_5_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_5_0
    #import <Twitter/Twitter.h>
    #import <Accounts/Accounts.h>
    #endif
    

    Please note that when adding the Framework for Twitter and Accounts make sure they are set as optional.

    And then in you share method use the lines

    - (void)shareOnTwitter {
    Class TWTweetComposeViewControllerClass = NSClassFromString(@"TWTweetComposeViewController");
    
        if (TWTweetComposeViewControllerClass != nil) {
            if([TWTweetComposeViewControllerClass respondsToSelector:@selector(canSendTweet)]) {
                UIViewController *twitterViewController = [[TWTweetComposeViewControllerClass alloc] init];
    
                [twitterViewController performSelector:@selector(setInitialText:) 
                                            withObject:twitterText];
                [twitterViewController performSelector:@selector(addURL:) 
                                            withObject:[NSURL URLWithString:url]];
    
                [twitterViewController performSelector:@selector(addImage:) 
                                            withObject:urImage];
                [self presentModalViewController:twitterViewController animated:YES];
                [twitterViewController release];
            }
    else {
    // Use ShareKit for previous versions of iOS
    } 
    }
    

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have integrated Twitter and Facebook in my iPhone App successfully. Also Facebook and
I have successfully integrated twitter's Oauth into my app, but anybody have an idea
I am working on a camera application and I have integrated it successfully but
I have successfully integrated the in app sample in my project and its working
I have successfully integrated google ajax search with rails application . Does Google Ajax
So I have successfully integrated Zxing into my application. However I want to make
last week, I integrated successfully twitter with my small rails app. If I create
I'm trying to integrate Twitter with my App right now. I have successfully set
I have successfully integrated PayPal Express into a Flex application. In DoExpressCheckoutPayment.php, I have
I successfully integrate sharekit into my app. At first, I was able to have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.