{"id":26796439,"url":"https://github.com/peterujah/php-instagram-query","last_synced_at":"2025-03-29T18:18:42.294Z","repository":{"id":59466590,"uuid":"537438195","full_name":"peterujah/php-instagram-query","owner":"peterujah","description":"A simple php class to extract user profile picture, page_ids, profile_id \u0026 name from instagram","archived":false,"fork":false,"pushed_at":"2024-01-22T03:03:17.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-01-23T04:07:53.222Z","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/peterujah.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":"2022-09-16T11:58:13.000Z","updated_at":"2023-09-24T03:48:01.000Z","dependencies_parsed_at":"2022-09-17T06:12:00.876Z","dependency_job_id":null,"html_url":"https://github.com/peterujah/php-instagram-query","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterujah%2Fphp-instagram-query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterujah%2Fphp-instagram-query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterujah%2Fphp-instagram-query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterujah%2Fphp-instagram-query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterujah","download_url":"https://codeload.github.com/peterujah/php-instagram-query/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246223304,"owners_count":20743168,"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":"2025-03-29T18:18:41.684Z","updated_at":"2025-03-29T18:18:42.280Z","avatar_url":"https://github.com/peterujah.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-instagram-query\n\nA simple php class to extract user profile pictures, page_ids, profile_id followers, following, posts \u0026 name from instagram\n\nInstallation is super-easy via Composer:\n```md\ncomposer require peterujah/php-instagram-query\n```\n\n# USAGES\n\nInitialize InstagramQuery with the necessary parameters and register your custom classes.\n\n```php \nuse \\Peterujah\\NanoBlock\\InstagramQuery;\n$lookup = new InstagramQuery();\n$username = \"peterchig\";\n```\n\nOR with options \nList of supported os for userAgent string `[ 'chrome', 'firefox', 'explorer', 'iphone', 'android', 'mobile', 'windows', 'mac', 'linux' ]`\n\n```php \nuse \\Peterujah\\NanoBlock\\InstagramQuery;\n$lookup = new InstagramQuery($browserLanguage, $os);\n$username = \"peterchig\";\n```\n\nFine user profile picture\n```php\n$ig = $lookup-\u003efindProfilePic($username);\necho $ig-\u003epicture;\nvar_dump($ig);\n```\n\nFine user page ids\n```php\n$ig = $lookup-\u003efindPageId($username);\necho $ig-\u003epage;\nvar_dump($ig);\n```\n\nFine user profile id\n```php\n$ig = $lookup-\u003efindProfileId($username);\necho $ig-\u003eprofile;\nvar_dump($ig);\n```\n\nFine user Instagram name\n```php\n$ig = $lookup-\u003efindProfileName($username);\necho $ig-\u003ename;\nvar_dump($ig);\n```\n\nFine user followers\n```php\n$ig = $lookup-\u003efindFollowers($username);\necho $ig-\u003efollowers;\nvar_dump($ig);\n```\n\nFine user following\n```php\n$ig = $lookup-\u003efindFollowing($username);\necho $ig-\u003efollowing;\nvar_dump($ig);\n```\n\nFine user posts\n```php\n$ig = $lookup-\u003efindPosts($username);\necho $ig-\u003eposts;\nvar_dump($ig);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterujah%2Fphp-instagram-query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterujah%2Fphp-instagram-query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterujah%2Fphp-instagram-query/lists"}