{"id":19228928,"url":"https://github.com/heppu/instagram-token-fetcher","last_synced_at":"2026-06-15T06:02:01.376Z","repository":{"id":57609299,"uuid":"80007357","full_name":"heppu/instagram-token-fetcher","owner":"heppu","description":"Go module and cmd tool to get instagram access token programmatically","archived":false,"fork":false,"pushed_at":"2017-01-25T14:06:43.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-04T22:45:02.154Z","etag":null,"topics":["go","instagram","instagram-api"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/heppu.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-01-25T11:13:39.000Z","updated_at":"2023-04-17T17:59:54.000Z","dependencies_parsed_at":"2022-08-27T11:12:11.856Z","dependency_job_id":null,"html_url":"https://github.com/heppu/instagram-token-fetcher","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/heppu%2Finstagram-token-fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heppu%2Finstagram-token-fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heppu%2Finstagram-token-fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heppu%2Finstagram-token-fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heppu","download_url":"https://codeload.github.com/heppu/instagram-token-fetcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240304572,"owners_count":19780312,"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":["go","instagram","instagram-api"],"created_at":"2024-11-09T15:31:05.235Z","updated_at":"2026-06-15T06:01:56.337Z","avatar_url":"https://github.com/heppu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Instagram token fetcher\nThis repository offers module for Go projects to fetch instagram access tokens programmatically.\nIt also has a command line tool for getting access tokens.\n\n## Usage\n\nIn code:\n```\ngo get github.com/heppu/instagram-token-fetcher\n```\n\n```go\npackage main\n\nimport (\n    \"log\"\n\n    \"github.com/heppu/instagram-token-fetcher\"\n    \"gopkg.in/alecthomas/kingpin.v2\"\n)\n\nfunc main() {\n    tokenClient := igtoken.NewClient(\n        \"my-app-id\",\n        \"http://some-url.com:8888/token\",\n        \"some-user\",\n        \"some-passwd\",\n    )\n\n    token, err := tokenClient.GetToken(igtoken.PUBLIC_CONTENT)\n    if err != nil {\n        log.Fatal(err)\n        return\n    }\n    log.Print(token)\n}\n```\n\nFrom command line\n\n```\ngo install github.com/heppu/instagram-token-fetcher/cmd/ig-token\nig-token --help\n```\n\n## How it works\n\nFirst token client opens http server to listen redirect url and catch the access token. After that it creates http client with cookie jar and logins with user credentials by parsing data from html responses.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheppu%2Finstagram-token-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheppu%2Finstagram-token-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheppu%2Finstagram-token-fetcher/lists"}