Skip to content

Latest commit

 

History

History
executable file
·
74 lines (51 loc) · 1.48 KB

README.md

File metadata and controls

executable file
·
74 lines (51 loc) · 1.48 KB

SocialSharesCount

Written in GO lang, this project is a wrapper API on popular social sites and returns share count of a given url. Star it if you Like it

Installation

import "github.com/gssumesh/socialsharescount"

Getting Started

To get started just get the GO package.

package main

import ( 
  "github.com/gssumesh/socialsharescount"
  "fmt"
)
func main() {
  url := "http://www.google.com"
  socialCounts := make(map[string]int) // To Store Result
  
  socialCounts = socialsharescount.GetAll(url)
  fmt.Println(socialCounts)
}

Result:

map[FacebookShare:10780840 Stumbleupon:255527 Mail_ru:609 Vkontakte:373 LinkedIn:22805 Pintrest:75108 FacebookLike:21689862 Buffer:9825 Odnoklassniki:531 FacebookComment:2450901 FacebookTotal:34921603]

Supported Networks

*Facebook Share*
*Facebook Like*
*Facebook Comment*
*Facebook Total*
*LinkedIn*
*Pinterest*
*Stumbleupon*
*Buffer*
*Mail.ru*
*Vkontakte*
*Odnoklassniki*

To Be Done

*Google Plus*
*Reddit*

Built With

  • GOlang
  • Eclipse

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Links

  • GoDoc