This repository has been archived by the owner on Aug 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 247
How to use Import and Export functions ? #65
Comments
I thinked I found , but, I didnt found .. If you can help it will be very cool :) |
Hi @skawm , package main
import (
"fmt"
"github.com/ahmdrz/goinsta"
)
func main() {
insta := goinsta.New("USERNAME", "PASSWORD")
if err := insta.Login(); err != nil {
panic(err)
}
defer insta.Logout()
bytes, err := insta.Export([]byte("32Byte AES Key"))
if err != nil {
panic(err)
}
ioutil.WriteFile("insta.bak", bytes, 755)
} And for import ,
|
Hi @ahmdrz ! Thank you! it seems to work super-fine:) |
I can't export! help me
|
@herhumoolah Let me know more about your code. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hello, I am a beginner in Golang programming, I don't understand how to use exactly the Import and Export functions. Can you say me how ? (may I keep the bytes in a file?)
Thanks
The text was updated successfully, but these errors were encountered: