mozilla / SocialShare

Protect users' privacy - share user data only when people are ready to share.
BSD 3-Clause "New" or "Revised" License
27 stars 10 forks source link

Make text configurable #2

Closed fwenzel closed 12 years ago

fwenzel commented 12 years ago

The twitter, facebook, and G+ texts should be configurable. Ideally, I think, we should allow for the text to be configurable for all three (possibly auto-shortening for twitter), and/or each individually.

Off the top of my head, I am imagining:

<div data-text="Check out this awesome new project" data-twittertext="ZOMG!"/>

fwenzel commented 12 years ago

Looks like this doesn't work like this. Instead, the page needs to add OpenGraph metadata.