Sharing Different urls contained in a single webpage?


I put twitter share button under each url. I want share button to pick specific url to get shared and not the main url where all the links are shown. Please help me find solution. Place the code.


This depends entirely on the kind of web environment you’re in.

Ultimately, you want to set the data-url attribute of the Tweet Button HTML A HREF tag to the URL of the article the button sits next to.