Hey people 
I do have a question regarding Twitter capability to share a tweet with additional resources(for now I managed to do it with link/text). What I want to achieve, is the functionality that Spotify displays, where when you want to share a song for twitter, you are redirected to Twitter app & the deep link is opened in the feed screen.
Is this possible to be implemented by having a photo/video sent from the iOS app to the Twitter instead of the link/deeplink/custom text ? I don’t wanna use any default ViewController that iOS might offer to have a preview in your app.
I am using this URL for sharing:" twitter://post?message=here comes the custom message" and I open it via the AppDelegate open function.
The Spotify thing is using a player card Player Card | Docs | Twitter Developer Platform as far as I remember. This is implemented on the html page, and the “custom message” includes a link.
1 Like
Will definitely check this up. Thank you for your answer !
After reading the cards documentation, it is not exactly what would solve my issue. While the approach is useful, is not exactly what I would like to do. First step of the sharing process I tried to describe above, should go from my app → twitter app → open feed preview with a specific resource sent from my app.
Looking into the card documentation, the part is related (if I understand right) to the marketing process and linking back from twitter to my app, which I might not need. So the suggestion is useful and might help me for the second part but still doesn’t solve the initial issue I tried to present.
If there are any other suggestions, I am open for them while I roam the internet to try find another solution. 
if you want to upload media, you have to use the Chunked media upload | Docs | Twitter Developer Platform endpoints to upload media, and POST statuses/update | Docs | Twitter Developer Platform to post tweets, using the user’s access token, which you get from the Log in with Twitter | Docs | Twitter Developer Platform flow.
Otherwise, you can still use the “intent” links, but the media has to already exist on twitter, and you can deep link with twitter://post?message=echo%20pic.twitter.com/abcde" like that.
1 Like
Thank you for clarifications
Much appreciated you time!