goinsta icon indicating copy to clipboard operation
goinsta copied to clipboard

invalid memory address

Open hadifarnoud opened this issue 4 years ago • 2 comments

I used this fork

package main

import (
	"log"
	"github.com/TheForgotten69/goinsta/v2"
)

func main() {  
  insta := goinsta.New("******", "*******")

  log.Printf("logged in as %s \n", insta.Account.Username)
  insta.Export("~/.goinsta")

  }

got this error when running it

$> ./test                                                                                                                                                    ✔  6402  20:10:10
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x1295d60]

goroutine 1 [running]:
main.main()
	/Users/hadifarnoud/playground/instapy-docker/test.go:11 +0x60

can you please update the README? I want to use goinsta to block fake followers. some nasty people keep buying us fake followers.

hadifarnoud avatar Jan 05 '21 16:01 hadifarnoud

You didn't login it seems? What do you think should be changed @hadifarnoud apart this? There is also examples in the directory in the code section just in case And yeah there is so many bots on this platform it's insane

TheForgotten69 avatar Jan 18 '21 23:01 TheForgotten69

I just tried the example with my correct username and password. It's sad to see goinsta unmaintained. there are no good sdk out there for instagram. Instapy also lacks features

hadifarnoud avatar Jan 21 '21 22:01 hadifarnoud