The @twitterdev account recently sent this tweet:
Ironically, there’s no link visible in this tweet as embedded here on this forum, nor is there any link that I can find in the metadata from the public API I have access to, but there is a link attached to this tweet when viewed on the website. Why is that?
Hamza
#2
It’s because you’re using a 3rd party client app to view the Tweet.
Do you not see the irony?
1 Like
Hamza
#4
We’re glad you mentioned it. This is an area we should address. Could you please leave this feedback on our developer feedback platform so the right person can see this?
The source is “Twitter for Advertisers” which makes the link a “card” that’s not in the main tweet json, and is only visible to the ad owner. You can see if a tweet has an ad card if you add include_card_uri=true to the request. You’ll get
"card_uri": "card://1222594398921351169"
in the json, but you can’t load the full details of the card unless you own that tweet Identifying Cards | Docs | Twitter Developer Platform
1 Like
system
Closed
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.