Link to home
Start Free TrialLog in
Avatar of Dan
DanFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Social Share Link

Is there a piece of code I can put in a href which when you click the link shares the page in facebook or twitter?

I know you can use:

<a href="http://twitter.com/share?url=<URL>&text=<TEXT>via=<USERNAME>"><img src="tw-circle.png" border="0" height="36" width="36"></a>

But I want it to know the page it is on as it is for a page template.

Thanks,
ASKER CERTIFIED SOLUTION
Avatar of HainKurt
HainKurt
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial