Here is the code for changing the user agent: await page. The iconic layout of mobile Instagram is in your browser Simply click the button and get all features like in the mobile app: - direct messages are fully supported - upload your own IGTV videos from the PC - make screenshots from Instagram window to share it with friends - convenience layout for better experience The main aim is to make your social experience better and easy. ![]() But when I try the same thing with puppeteer I get the PC version. When I change it in my regular chrome everything works, and I get the mobile version of the website. ![]() The thing is, that I need the mobile version of Instagram in order to upload photos. Chromecast with Google TV is a great emulator Saturday, January 23, 2021. I don't have the time to try to reverse-engineer the Instagram API and I don't think I'm competent enough to do this, so I decided to go with puppeteer (headless browser like phantomjs). Besides that, Google Chrome has the most often updates, however, not everyone uses the latest version of the browser and continues sticking up to their most convenient and favourite ones. So basically what I'm trying to do is an app that can make posts to multiple different social media simultaneously.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |