Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 2.65 KB

README.rst

File metadata and controls

75 lines (50 loc) · 2.65 KB

Get Instagram User Media in Go

https://godoc.org/github.com/siongui/goigmedia?status.png https://api.travis-ci.org/siongui/goigmedia.png?branch=master https://goreportcard.com/badge/github.com/siongui/goigmedia

https://img.shields.io/twitter/url/https/github.com/siongui/goigmedia.svg?style=social

Get links of Instagram user media (photos and videos) in Go.

Obtain Cookies

The following three values are must to access the Instagram API.

  • ds_user_id
  • sessionid
  • csrftoken

First login to Instagram from Chrome browser, and there are two ways to get the above information:

  1. From Chrome Developer Tools: See this SO answer or Obtain cookies section in instastories-backup repo.

ds_user_id sessionid csrftoken

  1. From Chrome extension: Use EditThisCookie or cookie-txt-export or other cookie tools.

UNLICENSE

Released in public domain. See UNLICENSE.

References

[1]GitHub - siongui/goiguserid: Get id of Instagram user in Go
[2]GitHub - siongui/goigstorylink: Get Links (URL) of Instagram Stories in Go
[3]GitHub - siongui/goigfollow: Get Instagram following and followers in Go
[4]GitHub - siongui/goigstorydl: Download Instagram Stories in Go