jublo / codebird-php

Easy access to the Twitter REST API, Direct Messages API, Account Activity API, TON (Object Nest) API and Twitter Ads API — all from one PHP library.
https://www.jublo.net/projects/codebird/php
GNU General Public License v3.0
777 stars 235 forks source link

Hide url in final tweet #191

Closed mrjutsu closed 7 years ago

mrjutsu commented 7 years ago

Hi, I've been requested to find a way to hide the url from the final tweet and leave only the card. I have a couple examples.

TechCrunch tweet with card but no url in tweet

TechCrunch tweet with card and url in tweet

My question is, is there a way to achieve this using Codebird? If not, do you know of a way this could be achieved?

Thank you.

mynetx commented 7 years ago

As told by Andy Piper:

There's no parameter that will help you here. The display of the URL in the second case is indeed due to the location of the URL in the text status. Be aware that we sometimes experiment with different manners of displaying cards so it is difficult to guarantee that the URL will be hidden in specific cases, but in general I believe that if you have the URL with a card behind it at the end of the status, it will be hidden on the web at the moment.

https://twittercommunity.com/t/hide-url-in-final-tweet/79495/2