Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.6 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.6 KB

Social Share Code Libraries

The Social Share Code Libraries project provides source code libraries for writing code that uses sharing on social-media.

All code is released under the permissive BSD-3-Clause License, so you should be able to use it in any of your projects, even if they are not permissively licensed like the BSD-3-Clause License.

Share Links - Do You Have Them?

Who Maintains This Project?

This is a sub-project of Social Share URL's, a project for documenting the sharing URL API's of third-party, social-media websites. Check out more about us here :

https://github.com/bradvin/social-share-urls

https://github.com/bradvin/social-share-urls/tree/master/code/

CSharp

Online Demo :

Code Sandbox :

Sample Use :

public class Application
{
	public static void Main()
	{
		SocialMedia sm = new SocialMedia(
			"EarthFluent",
			"http%3A%2F%2Fwww.earthfluent.com%2F"
		);

		for (int i = 0; i < Globals.SOCIALMEDIASERVICES; i++)
		{
			Console.WriteLine(sm.servicesSortedByPopularity[i] + " : " + sm.urls[i]);
		}
	}
}

Library Files :