I basically want the user to share something from my app to twitter. I was exploring the different methods possible and found SLComposeViewController but it is deprecated. Support for twitterKit has also been officially stopped by twitter. One possible way to do so seems to be like given in the answers in this post. Is there some other better way to do so? I would prefer if the user stays in the app itself (something similar to sharesheet for fb). Thanks!
How to share a post from my app to twitter iOS
6.5k Views Asked by Priyanshu Goyal At
1
There are 1 best solutions below
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in TWITTER
- Removing URL features from tokens in NLTK
- Optimizing for Social Leaderboards
- Customizing tweet view using Fabric SDK
- Get email address from Twitter
- Click tweet button after changing data-text
- MongoDB string index that is not text?
- how can I access user details through "oauth_token" from twitter api in ionic framework
- Vine API - User Data based on Anchor
- Twitter/Facebook in-app browser on Android not displaying my site correctly
- how to get stats for twitter ad campaign
- twitter response: "error 32: Could not authenticate you" from Heroku, but not desktop
- Twitter share android titanium with social.js file not working
- Ruby, update twitter avatar and background
- Insights for Twitter service in IBM Bluemix: Search case-sensitive string and other questions
- twitter json formatting in php
Related Questions in SHARE
- UIActivityViewController optional / different Content for different ActivityTypes
- SpriteKit share button not working
- how to share different urls via uiactivityviewcontroller?
- Difficulty placing share button in wordpress
- Facebook Share - codes in description
- Local files shared between two projects stored in git
- android development: how does my intent / icon get added to user's list like other social media in Android
- How to put file from android app to pc in LAN network
- Facebook Share button (add "via page" to share)
- Intent Filter for app in share menu - only show if LOCAL files are shared
- How to get and store Twitter share counts in database?
- Sharing photo using facebook sdk 4.2.0
- Dealing with extensionContext.inputItems for ShareExtension. Why only get firstObject of inputItems?
- How to share an Custom Image on LinkedIn Share
- Android Wear : create an App chooser
Related Questions in SLCOMPOSEVIEWCONTROLLER
- IOS setInitialText method in SLComposeViewController iOS 8.3 does not show text in Facebook sheet
- Twitter share not working on device
- SLComposecontroller does not disable post button for long messages
- XCTests for SLComposeViewController
- Xcode 5 Facebook post with Links immediately opens the link
- Handle twitter error messages in iOS
- Posting image to Facebook using SLComposeViewController
- ios slcomposeviewcontroller with facebook - How can I get the posted image id?
- Social framework sharing not working with Twitter
- Missing Image when using SLComposeViewController with Twitter on real device
- How to post on twitter by hiding SLComposeViewController *tweetSheettweet instance
- Why SLComposeViewController doesn't have delegate?
- Am I adding URL correctly to SLComposeViewController
- How can i create a facebook post in my app that looks alike a YouTube post
- iOS SLComposeViewController - url not displaying for twitter post
Related Questions in TWITTERKIT
- Error response TwitterKit
- Twitterkit present a new viewcontroller instead present on a target viewController
- Cannot compose tweets with Twitter Kit 3
- Fabric can't be initialised after adding Twitter Kit 3.1.0
- Android Twitter kit home timeline optional parameter issue
- Querying within a user's timeline using Twitter Kit for Android
- Getting user's complete information using TwitterKit
- How to get media from TwitterKit?
- How to share a post from my app to twitter iOS
- Setting parameters for urlRequest with TwitterKit for Direct Message in Swift
- Swift - Why should I use viewDidAppear rather than viewWillAppear when redirect user if the user logged in already
- How to show retweets and like counts in iOS TwitterKit?
- Unable to upload video in a Tweet with Twitter SDK 3.1.1
- Twitter Kit Android - TwitterApiClient retweet does not work
- Upgrading App to Swift 4 and iOS 11 - TwitterKit Issues
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use twitter-kit-ios.
For posting a tweet sample code from documentation would be following
Objective-c
Swift
Straight from the discontinuing blog post you can use, new api endpoints.