Code Monkey home page Code Monkey logo

goinsta's People

Contributors

ahmdrz avatar albina-art avatar alejoloaiza avatar bigjk avatar danijel-bjelancevic avatar dgrr avatar dmrlsn avatar ghostiam avatar glebtv avatar gspera avatar hadidimad avatar icholy avatar jaynagpaul avatar kayalardanmehmet avatar kemics avatar kfur avatar manslaughter03 avatar mattketmo avatar mosoriob avatar n33pm avatar nsa avatar rakd avatar robertgzr avatar seankhliao avatar sklinkert avatar sourcesoft avatar sviande avatar theforgotten69 avatar vitaliikapliuk avatar zhuharev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

goinsta's Issues

postPhoto() login_required

i tried example file of uploadPhoto, but got error
invalid status code, result: 403 Forbidden with body {"message":"login_required","status":"fail"}

go version go1.13.4 windows/amd64

Account Sync Method is GET not POST

// Sync updates account information
func (account *Account) Sync() error {
	insta := account.inst
	data, err := insta.prepareData()
	if err != nil {
		return err
	}
	body, err := insta.sendRequest(&reqOptions{
		Endpoint: urlCurrentUser,
		Query:    generateSignature(data),
		IsPost:   false,
	})
	if err == nil {
		resp := profResp{}
		err = json.Unmarshal(body, &resp)
		if err == nil {
			*account = resp.Account
			account.inst = insta
		}
	}
	return err
}

Change IsPost true to false line 84 in account.go

and thanks for upload fix in this fork :)

invalid memory address

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.

Is this an active fork?

Is this fork meant to be maintained?

I analyzed the web traffic from the latest android app and noticed the login procedure is vastly different (only makes a single stand-alone call to /login) from the shenanigans that are going on in the login procedure here. I am looking to create a patch, but should I make a pull request here or create my own fork?

update README

it looks like this fork is not going to be merged to main repo unfortunately. so it makes sense to update the README imho

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.