{"id":19326016,"url":"https://github.com/linkorb/socialshare","last_synced_at":"2025-08-19T14:13:48.982Z","repository":{"id":12838627,"uuid":"15514153","full_name":"linkorb/socialshare","owner":"linkorb","description":"Retrieve sharing stats for any url for various social networks.","archived":false,"fork":false,"pushed_at":"2015-01-23T11:37:29.000Z","size":172,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T18:45:32.111Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linkorb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-29T20:02:10.000Z","updated_at":"2016-07-01T07:51:07.000Z","dependencies_parsed_at":"2022-09-15T19:30:32.289Z","dependency_job_id":null,"html_url":"https://github.com/linkorb/socialshare","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fsocialshare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fsocialshare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fsocialshare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fsocialshare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linkorb","download_url":"https://codeload.github.com/linkorb/socialshare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250318877,"owners_count":21411007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T02:12:12.698Z","updated_at":"2025-04-22T20:32:14.653Z","avatar_url":"https://github.com/linkorb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LinkORB SocialShare Library\n\nRetrieve sharing stats for any url for various social networks.\n\n## Simple example\n\n```php\n$url = new LinkORB\\Component\\SocialShare\\Url('http://google.com');\nprint_r($url-\u003egetShareCounts());\n```\nOutput:\n\n```\nArray\n(\n    [pinterest] =\u003e Array\n        (\n            [count] =\u003e 10610\n            [countlabel] =\u003e 10.6K\n        )\n\n    [twitter] =\u003e Array\n        (\n            [count] =\u003e 7485\n            [countlabel] =\u003e 7.5K\n        )\n\n    [facebook] =\u003e Array\n        (\n            [id] =\u003e http://google.com\n            [comments] =\u003e 133545\n            [shares] =\u003e 2\n            [likes] =\u003e\n            [talking_about_count] =\u003e\n            [were_here_count] =\u003e\n            [count] =\u003e 133547\n            [countlabel] =\u003e 133.5K\n        )\n\n    [linkedin] =\u003e Array\n        (\n            [count] =\u003e 63420\n            [countlabel] =\u003e 63.4K\n        )\n\n    [googleplus] =\u003e Array\n        (\n            [count] =\u003e 5142375\n            [countlabel] =\u003e 5142.4K\n        )\n)\n```\n\n## Features\n\n* PSR-0 compatible, works with composer and is registered on packagist.org\n* Optional caching support through any Doctrine CacheProvider (FileSystem, Memcached, etc..)\n* Support for twitter.com\n* Support for facebook.com\n* Support for linkedin.com\n* Support for pinterest.com\n* Support for plus.google.com\n\n## Installing\n\nCheck out [composer](http://www.getcomposer.org) for details about installing and running composer.\n\nThen, add `linkorb/socialshare` to your project's `composer.json`:\n\n```json\n{\n    \"require\": {\n        \"linkorb/socialshare\": \"dev-master\"\n    }\n}\n```\n\n## Try the commandline utility:\n\nThere is a simple example commandline utility to test the functionality:\n\n    bin/console socialshare:urlsharecount http://google.com\n\nThis will retrieve all supported sharing stats, and output the resulting array to the console.\n\n## Contributing\n\nReady to build and improve on this repo? Excellent!\nGo ahead and fork/clone this repo and we're looking forward to your pull requests!\n\nIf you are unable to implement changes you like yourself, don't hesitate to\nopen a new issue report so that we or others may take care of it.\n\n## Todo\n\n* Add support for more networks (Tumblr, QQ, etc...)\n\n## License\nPlease check LICENSE.md for full license information\n\n## Brought to you by the LinkORB Engineering team\n\n\u003cimg src=\"http://www.linkorb.com/d/meta/tier1/images/linkorbengineering-logo.png\" width=\"200px\" /\u003e\u003cbr /\u003e\nCheck out our other projects at [linkorb.com/engineering](http://www.linkorb.com/engineering).\n\nBtw, we're hiring!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkorb%2Fsocialshare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinkorb%2Fsocialshare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkorb%2Fsocialshare/lists"}