{"id":23422677,"url":"https://github.com/allotmentandy/socialmedialinkextractor","last_synced_at":"2026-05-09T04:31:56.243Z","repository":{"id":56946028,"uuid":"98295008","full_name":"allotmentandy/SocialMediaLinkExtractor","owner":"allotmentandy","description":"php laravel package to extract social media links from an array of links for my spider, used as part of a spider for checking londinium.com website links","archived":false,"fork":false,"pushed_at":"2023-02-01T15:57:15.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T10:29:13.340Z","etag":null,"topics":["crawler","extractor","facebook","laravel","linked-list","php","social","social-network","spider","twitter","url","youtube"],"latest_commit_sha":null,"homepage":"http://londinium.com","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/allotmentandy.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-25T10:34:11.000Z","updated_at":"2022-02-28T10:01:59.000Z","dependencies_parsed_at":"2023-02-17T07:31:46.949Z","dependency_job_id":null,"html_url":"https://github.com/allotmentandy/SocialMediaLinkExtractor","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/allotmentandy%2FSocialMediaLinkExtractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allotmentandy%2FSocialMediaLinkExtractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allotmentandy%2FSocialMediaLinkExtractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allotmentandy%2FSocialMediaLinkExtractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allotmentandy","download_url":"https://codeload.github.com/allotmentandy/SocialMediaLinkExtractor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248019794,"owners_count":21034314,"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":["crawler","extractor","facebook","laravel","linked-list","php","social","social-network","spider","twitter","url","youtube"],"created_at":"2024-12-23T03:09:28.567Z","updated_at":"2026-05-09T04:31:56.195Z","avatar_url":"https://github.com/allotmentandy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SMLE - Social Media Link Extractor (smile) :)\n\nMy first package!\n\nThe idea is to create a nice easy way to extract the social media links from an array of links. For use in my webspider\n\n## Installation\n\nadd \n\ncomposer require allotmentandy/socialmedialinkextractor\n\n\n## to use with laravel\n\n```\n\u003c?php\n\nnamespace App\\Http\\Controllers;\n\nuse Illuminate\\Http\\Request;\nuse allotmentandy\\SocialMediaLinkExtractor\\SocialMediaLinkExtractorController;\n\nclass HomeController extends Controller\n{\n    public function index()\n    {\n        $smle = new SocialMediaLinkExtractorController;\n        $linkArray = [\"http\", \"http2\", \"http://twitter.com/andy\", \"http://www.twitter.com/londiniumcom\", \"http://www.facebook.com\"];\n        echo $smle-\u003ecountLinks($linkArray);\n        echo \"\u003chr\u003e\";\n        echo $smle-\u003egetTwitter($linkArray);\n        echo \"\u003chr\u003e\";\n        echo $smle-\u003egetFacebook($linkArray);\n    }\n}\n```\nHere is the full list\n```\n        $smle = new \\allotmentandy\\socialmedialinkextractor\\SocialMediaLinkExtractorController();\n        echo \"\u003ch4\u003eSocial Media\u003c/h4\u003e\";\n        echo $smle-\u003egetTwitter($linkArray) . \"\u003cbr\u003e\";\n        echo $smle-\u003egetFacebook($linkArray) . \"\u003cbr\u003e\";\n        echo $smle-\u003egetYoutube($linkArray) . \"\u003cbr\u003e\";\n        echo $smle-\u003egetInstagram($linkArray) . \"\u003cbr\u003e\";\n        echo $smle-\u003egetLinkedin($linkArray) . \"\u003cbr\u003e\";\n        echo $smle-\u003egetGoogle($linkArray) . \"\u003cbr\u003e\";\n        echo $smle-\u003egetPinterest($linkArray) . \"\u003cbr\u003e\";\n        echo $smle-\u003egetGithub($linkArray) . \"\u003cbr\u003e\";\n        echo $smle-\u003egetFlickr($linkArray) . \"\u003cbr\u003e\";\n        echo $smle-\u003egetTumblr($linkArray) . \"\u003cbr\u003e\";\n        echo $smle-\u003egetTiktok($linkArray) . \"\u003cbr\u003e\";\n        echo $smle-\u003egetRss($linkArray) . \"\u003cbr\u003e\";\n```\n\n\n### original idea from here\n\nhttps://github.com/fluquid/extract-social-media/blob/master/src/extract_social_media/__init__.py\n\n\n### Followed this tutorial for the basics of the package\n\nhttps://medium.com/laravelapps/laravel-package-development-step-by-step-guide-743d9e5e076e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallotmentandy%2Fsocialmedialinkextractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallotmentandy%2Fsocialmedialinkextractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallotmentandy%2Fsocialmedialinkextractor/lists"}