Davincible / goinsta

Unofficial Instagram API written in Golang (v2022)
MIT License
183 stars 56 forks source link

Overflow Account.ID in 32bit systems fix #28

Closed sredni closed 2 years ago

sredni commented 2 years ago

I faced issues with immediately logout after login request. This is caused by casting int64 to int on adding authorization header (Ig-Intended-User-Id) while compiling it for arm32. Potentially fixes builds for other 32-bit systems.

Davincible commented 2 years ago

When writing the lib I wondered if this was ever going to cause any issues hahah

Davincible commented 2 years ago

If you find more casting issues please fix/let me know

sredni commented 2 years ago

Can you please add new release tag?

Davincible commented 2 years ago

Changed all other int64 castings and tagged the release