Hi Craig,
I've done something like this recently.
You need to sign up with the respective sites developer programs, and connect to Facebook and Twitter using Oauth. Each site has its own API and offers sample code on how to achieve this.
It's not something that Social Media Toolkit can help you with unfortunately.
Cheers
Ian