Use respective social websites API's which will be available in their developer subdomain sites
developer.facebook.com
dev.twitter.com
<a href="http://www.oneall.com/">http://www.oneall.com/</a>[<a>
href="http://www.oneall.com/" target="_blank" title="New Window">^</a>]
This should be helpful for you I guess,
It supports 30+ Social Media Websites