title: Code For Sharing Site Content on Social Networks
body: <p>I have a website with articles listed on a blog page and I want to have a custom Facebook Share, Tweet This &amp; Email link assigned for each article.  Here is the code for the Twitter link:</p>
  
  <pre><code>&lt;a href=\"https://twitter.com/share\" data-url=\"http://www.mywebsite.co.uk?article=$article_id\"&gt;&lt;div class=\"shareCell shareTwitter\"&gt;&lt;/div&gt;&lt;/a&gt;
  </code></pre>
  
  <p>The problem is that when I click on the tweet image it tries to share the main blog page rather than the relative article - Any ideas why or how to sort it.</p>
  
  <p>Also, how can the same be done for Facebook and Emailing the article direct?</p>