Questions tagged [twitterkit]

Twitter Kit is a set of SDKs for iOS and Android SDK for displaying Tweets, authorizing Twitter users, and working with the Twitter API.

Twitter Kit is a set of SDKs for iOS and Android for displaying Tweets, authorizing Twitter users, and working with the Twitter API.

108 questions
3
votes
2 answers

Upgrading App to Swift 4 and iOS 11 - TwitterKit Issues

I'm trying to upgrade my app to latest iOS support. I've added TwitterKit via CocoaPods, and placed header in my Bridge Header. However; I am getting an error saying: Use of unresolved identified 'Twitter' - did you mean 'TWTRTTwitter'. func…
Michael Rowe
  • 870
  • 2
  • 11
  • 27
3
votes
0 answers

Twitterkit - Login session will remain even after reinstalling app

Login implement by twitterkit. Get login status by following code, and login processing is executed if userId can be taken. TWTRSession *session = [[[Twitter sharedInstance] sessionStore] session]; At this time, even if reinstall the App, login…
2
votes
0 answers

EXC_CRASH (SIGABRT) CLSBetaController

I'm getting a crash on app launch from time to time which does not make it to Crashlytics, but I managed to get a .crash report and Symbolicate that against the .dsym. This is what I get: Exception Type: EXC_CRASH (SIGABRT) Exception Codes:…
Diogo Antunes
  • 2,241
  • 1
  • 22
  • 37
2
votes
1 answer

Android TwitterKit not showing retweets and likes

I am using TwitterKit for Android to show tweets inside my app. Works well, but for some reason it is not showing number of retweets and likes below each tweet. Here is my code: SearchTimeline searchTimeline = getTimeline("#somehashtag",…
c0dehunter
  • 6,412
  • 16
  • 77
  • 139
2
votes
1 answer

How to POST direct message using Twitter REST API in SWIFT 4

I want to implement to send direct message to my twitter friends using Twitter REST API. I am getting all my friends id and put invite button for sending a message from my app. Following is the function call I am using - func sendInviteMessage(_…
iHarshad
  • 143
  • 11
2
votes
0 answers

How to change Twitter accounts with Twitter Kit

I implemented Twitter share button, but there are no column to change Twitter accounts like this picture. And if I logged out from the account, I can't authorize (login) another account. The view to authorize will never appear. My app doesn't have…
K.K.D
  • 917
  • 1
  • 12
  • 27
2
votes
1 answer

TWTRTwitter sessionStore now returns TWTRAuthSession: so how does one access the userName property now?

With TwitterKit 3.3.0 in Swift sharedInstance().sessionStore.session() now returns a TWTRAuthSession rather than a TWTRSession, as before. Things change, that's fine, however the documentation hasn't been updated to reflect this, and as such I no…
Joseph Beuys' Mum
  • 2,395
  • 2
  • 24
  • 50
2
votes
1 answer

Twitter.sharedInstance() does not exist swift TwitterKit

I'm new to Xcode and swift. I have started to work with TwitterKit, I have installed it on my project using cocoapods, I followed this tutorial: https://dev.twitter.com/twitterkit/ios/installation The problem is, when I try to initialize TwitterKit…
The Cubear Guy
  • 383
  • 4
  • 17
2
votes
2 answers

Twitter Kit for iOS Objective C Installation Problems. 'TwitterKit/TwitterKit.h' file not found error

I followed the instruction of https://dev.twitter.com/twitterkit/ios/installation Install Twitter Kit Manually (Objective C) Did all the steps: Downloaded and unzip Twitter Kit. Draged contents to the root of your project in Xcode, and made sure…
CGN
  • 579
  • 4
  • 13
2
votes
0 answers

Twitter Composer View but no "Compose"/"Submit" button

I've been able to get the composer view to appear, but there doesn't seem to be any visible button to submit the tweet. Any ideas on this issue? private func showTwitterShareDialog() { let composer = TWTRComposer() let url =…
royherma
  • 4,095
  • 1
  • 31
  • 42
2
votes
0 answers

unknown property 'dependency' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler

I'm trying to clone this twitter kit repository, and want to open the sample app in android studio. Then I get this gradle sync error: Error(3,0) Could not get unknown property 'dependency' for object of type…
Robin
  • 1,487
  • 4
  • 17
  • 29
2
votes
1 answer

TwitterKit 3.0.3 Failed authorization

I used this official Guide from Twitter for Log In My steps: Callback URL leave field blank in Application Management Install pods pod 'Fabric', pod 'TwitterKit' Add on Info.plist CFBundleURLTypes
Roman
  • 1,045
  • 1
  • 12
  • 33
2
votes
1 answer

Twitter Kit error

So I'm using the TwitterKIT from Twitter not fabric and I'm getting an error. Here is the code. I've also followed the installation of TwitterKIT exactly documented on Twitter [TwitterKit] Couldn't load Tweets from TWTRTimelineViewController: …
Tyler
  • 81
  • 7
2
votes
1 answer

Error code 403 when using guest authentication with TwitterKit iOS for getting user timeline

I am using Fabric's twitter kit for getting a username's tweets in my iOS application by making a request to the REST API endpoint "https://api.twitter.com/1.1/statuses/user_timeline.json" I am have correctly set up my "consumer key" and "consumer…
Shivam Bhalla
  • 1,879
  • 5
  • 35
  • 63
2
votes
1 answer

Update TwitterKit SDK in iOS

I have this error : ld: '/Users/MyName/Desktop/ProjectName/PName/PName/Resources/Frameworks/Fabric.framework/Fabric(Fabric.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated…
Roei Nadam
  • 1,780
  • 1
  • 15
  • 33