goinsta icon indicating copy to clipboard operation
goinsta copied to clipboard

How to make this work with 'tducasse/go-instabot' ?

Open learnacadman opened this issue 2 years ago • 2 comments

I was using https://github.com/tducasse/go-instabot .

It still uses that old github.com/ahmdrz/goinsta/v2 library , so i replaced it with yours.

But now it gives me this error: parseOptions() not defined, getConfig() defined.

Have you replaced these functions with something else?

learnacadman avatar Jan 17 '23 12:01 learnacadman

@learnacadman It's not a one-to-one replacement. The functionality is the same. But some of the methods are different. Have look at the Wiki documentation and the Go Doc page. If you look at what the code is trying to do you should be able to figure it out.

If you provide more specific errors I can also help out better.

Davincible avatar Jan 17 '23 12:01 Davincible

hey @learnacadman, i just threw a pr updating go-instabot to be compatible with the latest goinsta version.

https://github.com/tducasse/go-instabot/pull/101

7onn avatar Apr 07 '23 15:04 7onn