Gimp-Forum.net
Program instagram posts from desktop - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: Other topics (https://www.gimp-forum.net/Forum-Other-topics)
+--- Forum: Watercooler (https://www.gimp-forum.net/Forum-Watercooler)
+--- Thread: Program instagram posts from desktop (/Thread-Program-instagram-posts-from-desktop)



Program instagram posts from desktop - jacques_duflos - 08-30-2023

Hi there,
I would like to program instagram posts ahead of time. It is possible from the mobile app once I switch my account to creative account, but not through a web browser. But I want to do it from my laptop because it's much more handy and because I prepare the pictures I want to publish on gimp (so on my laptop).
So far,  I have tried to :
- use firefox making it pretend that it's a mobile version. no succes. accessing instagram through a web browser won't work, even from a mobile, I guess
- install a android emulator (or virtual machine, I 'm not sure) named Waydroid on my laptop (linux ubuntu). No success because the touch-screen emulation does not work well enough, I could never post anything.
- install Istekram. No success, would not even pass the splash screen.

I plane to try other virtual machines/emulators and see if one does the trick.

But maybe someone here would have pieces of advice ? I'm open to Windows only solution too.
thanks Smile

edit : just tried the program Ramme accoding to this website, with no success unsurprisingly as the page is old (2019)
https://itsubuntu.com/how-to-upload-photos-to-instagram-from-ubuntu-directly/


RE: Program instagram posts from desktop - PixLab - 08-30-2023

Firefox, top menu Tools > Browser Tools > Web Dev Tools console opens > click on the right side on the smartphone icons,
you got this: (you can close the console, don't need any more as the "phone" version will stay)

[attachment=10295]

click on the + sub-menu opens click on any > upload

Scroll down to click on your "face" at the very bottom to go to your "home" to check your picture

I never ever downloaded any facebouc, instagragram, whatsoever social sh.t on my phone, all via my browser on my pc Wink


RE: Program instagram posts from desktop - Ofnuts - 08-30-2023

(08-30-2023, 04:11 PM)(a shell script, not a Gimp script).jacques_duflos Wrote: Hi there,
I would like to program instagram posts ahead of time. It is possible from the mobile app  once I switch my account to creative account, but not through a web browser. But I want to do it from my laptop because it's much more handy and because I prepare the pictures I want to publish on gimp (so on my laptop).
So far,  I have tried to :
- use firefox making it pretend that it's a mobile version. no succes. accessing instagram through a web browser won't work, even from a mobile, I guess
- install a android emulator (or virtual machine, I 'm not sure) named Waydroid on my laptop (linux ubuntu). No success because the touch-screen emulation does not work well enough, I could never post anything.
- install Istekram. No success, would not even pass the splash screen.

I plane to try other virtual machines/emulators and see if one does the trick.

But maybe someone here would have pieces of advice ? I'm open to Windows only solution too.
thanks Smile

edit : just tried the program Ramme accoding to this website, with no success unsurprisingly as the page is old (2019)
https://itsubuntu.com/how-to-upload-photos-to-instagram-from-ubuntu-directly/

Is there a documented APi to upload pictures (aka "web services")?  Then you can use it through a Python script.


RE: Program instagram posts from desktop - jacques_duflos - 08-31-2023

PixLab Wrote:Firefox, top menu Tools > Browser Tools > Web Dev Tools console opens > click o...
That's the first thing I tried, but it didn't work. You can upload photos and publications this way, but you can't access the advanced tools that let you program the publication ahead of time. Actually, using a web browser from a cellphone doesn't work either (I just checked). Meta justifies the choice to force people to use the mobile app by willing to "maintain the authenticity of the community"  Huh  .

Ofnuts Wrote:Is there a documented APi to upload pictures (aka "web services")?  Then you can use it through a Python script.
The legacy APi is not python, and according to this page about publishing through the APi, it is not a language I am familiar to. It can be an option, but I hope I can save me the trouble My best hope for now is to manage to use a virtual machine or an emulator.


RE: Program instagram posts from desktop - PixLab - 08-31-2023

(08-31-2023, 12:46 AM)jacques_duflos Wrote: You can upload photos and publications this way, but you can't access the advanced tools that let you program the publication ahead of time.

I was not even aware that we can schedule the publication Big Grin

So for me it's fine as it is, anyway I hope you will find a solution Smile


RE: Program instagram posts from desktop - Ofnuts - 08-31-2023

(08-31-2023, 12:46 AM)jacques_duflos Wrote:
PixLab Wrote:Firefox, top menu Tools > Browser Tools > Web Dev Tools console opens > click o...
That's the first thing I tried, but it didn't work. You can upload photos and publications this way, but you can't access the advanced tools that let you program the publication ahead of time. Actually, using a web browser from a cellphone doesn't work either (I just checked). Meta justifies the choice to force people to use the mobile app by willing to "maintain the authenticity of the community"  Huh  .

Ofnuts Wrote:Is there a documented APi to upload pictures (aka "web services")?  Then you can use it through a Python script.
The legacy APi is not python, and according to this page about publishing through the APi, it is not a language I am familiar to. It can be an option, but I hope I can save me the trouble My best hope for now is to manage to use a virtual machine or an emulator.

This looks like a very standard Web Services REST API. These are rather plain HTTP requests, that you can issue from a Python script using the requests module. There is a fairly detailed explanation there.


RE: Program instagram posts from desktop - jacques_duflos - 09-13-2023

Finally found a solution !
the programm Genymotion is a android emulator. It is meant for app developers, but there is a free version for personal use, very limited, but it is enough for what I have to do.
(08-31-2023, 06:20 AM)Ofnuts Wrote: This looks like a very standard Web Services REST API.

actually the difficulty comes from Meta's politics. For those requests to be available, you need to create a facebook developer's account, link the account to your instagram, create a facebook app and declare it to obtain an ID , create a token, how knows what more... I have the feeling that it is meant for societies with a dedicated social network employee, not for some guy like me.