Closed Chrysweel closed 8 years ago
Her @Chrysweel, if meta tags are giving you a headache you can define the text, url and description in the config
object (which is passed in on creation of the button).
Otherwise share-button looks for meta name="og:title"
first, if it's not found it'll look for meta name="twitter:title"
, if that also is not found then it'll use meta name="title"
https://github.com/carrot/share-button/blob/master/src/share-button.js#L678
Let me know if you have anymore questions :smile:
Hello. In documentation
I read:
I my code I have:
But share-button always get the title tag value..
In code of share-button I see this:
The text always get of config of twitter... :/
How can I customize title to twitter and facebook ??
Is a bug ?
Thanks in advance !