Jabran Rafique edited this page Apr 10, 2015 · 6 revisions


Making the socialmedia setup most convenient is one of the core part of it's development. It is quick and straight forward to setup and running socialmedia in a project.

Add socialmedia to a web project


Initialize required service(s)

	var facebook, twitter, gplus, pinterest;

	// Facebook *
	facebook = new Socialmedia.Facebook({
		appid: '0123456789'

	// Twitter
	twitter = new Socialmedia.Twitter();

	// Google Plus
	gplus = new Socialmedia.GooglePlus();

	// Pinterest
	pinterest = new Socialmedia.Pinterest();
* \* Facebook setup requires [Facebook APP](https://developers.facebook.com) ID. * [Further reading & Example](http://jabran.me/projects/socialmedia-js/)

Next: API Reference


You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.