News for hackers. Stuff that matters.
Re:Start with a Website, Not a Mobile App by bgarbiak on Friday January 04, 2019 @04:18PM (#18827725)
Instagram is perfectly usable as a website, at least on an iPhone. I guess some features might be missing, but the core stuff is there: browsing, adding photo, filters, stories.
Re:Start with a Website, Not a Mobile App by sosborn on Friday January 04, 2019 @04:33PM (#18827845)
How do you post a photo on instagram in a web browser? I thought that was reserved for the app.
Re:Start with a Website, Not a Mobile App by payamb on Friday January 04, 2019 @07:07PM (#18828961)
You can post a photo on instagram in a browser on iphone. you also can on other platforms by changing your useragent to webkit
Re:Start with a Website, Not a Mobile App by syrrim on Friday January 04, 2019 @04:56PM (#18828049)
Add a file input -> the users taps it -> ios asks if they want to use an existing photo or take a new one -> take a new photo. Result on android may differ.
Re:Start with a Website, Not a Mobile App by sosborn on Friday January 04, 2019 @05:07PM (#18828142)
Interesting, they don’t seem to allow this on the desktop browser. Changing the user-agent yo a mobile browser exposes it. What a strange decision.
Re:Start with a Website, Not a Mobile App by laurentl on Friday January 04, 2019 @06:08PM (#18828615)
I don’t use Instagram so can’t check the code, but I would guess they use something like

    <input type="file" accept="image/*" capture>
Which does what you’d expect on a mobile device (launch the camera) but behaves differently on desktops (opens a file upload dialog). They may have decided that this behavior would confuse users.
Re:Start with a Website, Not a Mobile App by geezerjay on Friday January 04, 2019 @06:09PM (#18828617)
How do you ensure that a client only sees a picture/video once and can't save it?
Re:Start with a Website, Not a Mobile App by code_duck on Friday January 04, 2019 @08:20PM (#18829261)
The photos are available as publicly accessible jpgs through http. They’re not really trying to do that.
Re:Start with a Website, Not a Mobile App by cschep on Friday January 04, 2019 @07:25PM (#18829028)
You can't ensure this natively either.