jaxxstorm / like-my-friend Goto Github PK
View Code? Open in Web Editor NEWLike your friends photos on instagram automatically - written in golang
License: MIT License
Like your friends photos on instagram automatically - written in golang
License: MIT License
Seems to be an issue with a dependent package but I'm not sure how to fix this.
Package https://github.com/ahmdrz/goinsta
go get github.com/jaxxstorm/like-my-friend
src\github.com\jaxxstorm\like-my-friend\cmd\root.go:75:23: insta.GetUserByUsername undefined (type *goinsta.Instagram has no field or method GetUserByUsername)
src\github.com\jaxxstorm\like-my-friend\cmd\root.go:86:21: insta.LatestUserFeed undefined (type *goinsta.Instagram has no field or method LatestUserFeed)
src\github.com\jaxxstorm\like-my-friend\cmd\root.go:97:21: insta.Like undefined (type *goinsta.Instagram has no field or method Like)
go build github.com/jaxxstorm/like-my-friend
src\github.com\jaxxstorm\like-my-friend\cmd\root.go:75:23: insta.GetUserByUsername undefined (type *goinsta.Instagram has no field or method GetUserByUsername)
src\github.com\jaxxstorm\like-my-friend\cmd\root.go:86:21: insta.LatestUserFeed undefined (type *goinsta.Instagram has no field or method LatestUserFeed)
src\github.com\jaxxstorm\like-my-friend\cmd\root.go:97:21: insta.Like undefined (type *goinsta.Instagram has no field or method Like)
When you run the app, it should actually like the photos
Add a readme with config options etc
How would I change the program to only like the latest photo from a user (LatestUserFeed) instead of the first 18 photos from a user?
Is there a sample config file that might have these options?
I really appreciate the help. Thank you.
Add a debug loglevel
Thank you very much for being so responsive and making changes so quickly. The new v0.2 code works as advertised and works well.
I guess I had a different use case in mind where I wanted to like a bunch of my friends latest posts. I have a list of user accounts that I want to like their latest post. Using a batch file like the following caused issues with Instagram. After about 8 user accounts the error "Not Logged In" showed up for each line item. I assume because the script logs into Instagram for every user. I wondered if I could change the code to input the user account list (text file) in the code and thus only log in once for multiple likes.
I created a batch file with the following command:
FOR /f "delims=" %%U in (usernamelist.txt) DO like-my-friend -a %%U -u InstaAccount -p InstaPassword -P 1
This worked fine except for logging in too much for Instagram.
I'm not sure if this is something I can ask for or whether I need to figure it out myself. I was hoping to get the usernamelist.text into the for loop.
Thoughts?
Show what you would do, but don't actually like anything
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.