{"id":20159823,"url":"https://github.com/yukihirai0505/iservice","last_synced_at":"2026-04-18T13:33:46.505Z","repository":{"id":57729959,"uuid":"92568926","full_name":"yukihirai0505/iService","owner":"yukihirai0505","description":":laughing: do instagram actions programmatically","archived":false,"fork":false,"pushed_at":"2018-04-19T08:00:41.000Z","size":286,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-07T11:45:28.140Z","etag":null,"topics":["bash","instagram","sbt","scala"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/yukihirai0505.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-27T03:48:33.000Z","updated_at":"2018-12-03T14:49:01.000Z","dependencies_parsed_at":"2022-09-05T21:51:34.975Z","dependency_job_id":null,"html_url":"https://github.com/yukihirai0505/iService","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/yukihirai0505/iService","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihirai0505%2FiService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihirai0505%2FiService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihirai0505%2FiService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihirai0505%2FiService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yukihirai0505","download_url":"https://codeload.github.com/yukihirai0505/iService/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihirai0505%2FiService/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264010960,"owners_count":23543717,"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":["bash","instagram","sbt","scala"],"created_at":"2024-11-14T00:10:35.264Z","updated_at":"2026-04-18T13:33:46.475Z","avatar_url":"https://github.com/yukihirai0505.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"To get instagram all followers.\n\n## Setup\n\nsbt\n\nIf you don't have it already, make sure you add the Maven Central as resolver in your SBT settings:\n\nYou need to include the library as your dependency:\n\n```scala\nlibraryDependencies += \"com.yukihirai0505\" % \"iservice_2.11\" % \"2.0.0\"\n```\n\nhttps://search.maven.org/#artifactdetails%7Ccom.yukihirai0505%7Ciservice_2.11%7C2.0.0%7Cjar\n\n## Example\n\nUsing browser url\n\n### Using scala\n\n```scala\nimport java.io.File\n\nimport com.yukihirai0505.iService.IService\n\nimport scala.concurrent.Future\nimport scala.concurrent.ExecutionContext.Implicits.global\n\n\nval (username, password) = (sys.env(\"INSTAGRAM_USERNAME\"), sys.env(\"INSTAGRAM_PASSWORD\"))\nval iService = new IService(username, password)\n\n\n// Get followers\niService.getFollowers(targetAccountName = \"[target account name]\").flatMap {\n  case Right(result) =\u003e Future successful result.foreach(n =\u003e println(n.node.username))\n  case Left(_) =\u003e Future successful \"failed\"\n}\n\n// Get hash tag search result\niService.getSearchHashTagResult(hashTag = \"[hash tag]\").flatMap {\n  case Right(v) =\u003e Future successful v.media.nodes.foreach(println)\n  case Left(e) =\u003e Future successful \"failed\"\n}\n\n// Like to media\niService.likeMedia(mediaId = \"[media id]\", \"[shortcode]\").flatMap {\n  case Right(v) =\u003e Future successful println(v.status)\n  case Left(e) =\u003e Future successful println(\"failed\", e)\n}\n\n// Post to timeline\niService.postNaturalWays(new File(\"path/to/post\"), \"test\").flatMap {\n  case Right(v) =\u003e Future successful println(s\"result:${v.status} code: ${v.code}\")\n  case Left(e) =\u003e Future successful println(\"failed\", e)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukihirai0505%2Fiservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyukihirai0505%2Fiservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukihirai0505%2Fiservice/lists"}