Is there any possibility to disable the footer on a twitter card?


#1

I’d like to know if there’s any possibility to disable footer buttons when I use widget.js

My code is something like this, but I cannot see the way of doing that:

twttr.widgets.createTweet(
idt,
document.getElementById(elementID),
{
align: ‘left’
})
.then(function (el) {
console.log(“Tweet displayed.”)
});


#2

When you say “footer buttons”, are you referring to the bar of Tweet actions (like, Retweet, etc) or are you specifically referring to the content of Twitter Cards displayed in embedded Tweets?


#3

I mean, when I embed a tweet in my web page


#4

Can you share an image to show what you mean when you say “the footer” to be sure I’m answering the question you are asking?

If there’s an actual card in the Tweet, you can remove it and only show the URL by using the data-cards="hidden" parameter per the documentation.


#5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.