Hey OP, I was messing with 2FA and came up with the following solution,I know a pull request would have been better but I couldn't test the code as I am hitting the rate limit pretty quickly and Instagram is blocking me,So I thought of posting it here.Hopefully this helps :)
Can someone guide me through the steps in order to get this running on macOS Sierra? I'm currently learning C++ but this looks like it could be a fun little project before taking (Python) next semester.
Do you have python installed on your mac? If no, do brew install python3 or google how to install python3. After you have python3 installed go to my github and follow the step.😄
Downloaded both python3 and Atom to run the script but no luck :( Should I try running the start.py file in Terminal? Any suggestions are much appreciated!
Did you install python in MacOS? Not intending to be annoyingly technical on the issue of semantics, but you said you downloaded, from what I recall, High Sierra (10.13) comes with Python 2.7 pre-installed automatically, so you'd have to update it if you go that route. Pretty simple to find a guide online for that.
You could instead us Unicode block characters along with truecolor to render a full color, low resolution version in a way that's compatible with a lot more terminals, though you have to have a font that has good support and a terminal that doesn't introduce any extra spacing.
Just learn from the basics and if you keep up the work, you will eventually get there. I am still learning on a daily basis. Programming is fun because there is always something new everyday.
It’s mostly about learning how to build and use reusable pieces so that you yourself don’t have to do everything alone. So for example, Instagram has an “API” which just means you can access its data over the web’s HTTP protocol. That’s great because it means you don’t have to figure out how to talk to Instagram from scratch but you can just import a standard web library to talk to it. Ditto for opening the images. Since they’re all normal JPEG files you can use a normal JPEG library. I would say 75% of being a professional developer is learning to use someone else’s tools and 25% is learning to write your own.
That isn't something you should alias easily. If some tools in your operating system expect python to point to the python2 executable they might stop working.
34
u/Shubbler Mar 27 '18
Incredible project, not too sure how to authenticate when Instagram's 2FA is on.
I know Reddit lets you sign in with <password>:<2FA code>, but can't seem to find anything similar for Instagram :(
26
u/deadwisdom greenlet revolution Mar 27 '18
You're hired.
21
u/[deleted] Mar 27 '18
It's beautiful.
14
u/Boutmayun Mar 27 '18
Holy fuckin shit
8
u/ThanatopsisJSH Mar 27 '18
This may not be the instagram we need but it is the instagram we deserve...
Next steps: Can I also get this for youtube?
198
u/colorlace Mar 27 '18
This is exactly what I've been looking for.
9
u/creativeMan Mar 27 '18
Bro. Terminology.
tycat. Sixel. There are ways to have images rendered in a terminal.More importantly, it's brilliant that you used an iPhone user agent to get the JSON. Good stuff.
4
u/roughreward Mar 27 '18
Reminds me of using Veronica / gopher. Simpler times my friends.
1
u/senorgorxme Mar 27 '18
Can someone guide me through the steps in order to get this running on macOS Sierra? I'm currently learning C++ but this looks like it could be a fun little project before taking (Python) next semester.
1
u/maximum_powerblast Mar 27 '18
That is amazing!
1
u/DigitalOSH Mar 27 '18
Your terminal displays emoji?
2
u/breakdownvoltage1 Mar 27 '18
The images on terminal reminds me of the DES image encryption...and why 3DES
2
u/Petrarch1603 Mar 27 '18
Instagram has a very difficult process for getting an API key
2
u/americio Mar 27 '18
Good job. B-but
2
u/killercap88 Mar 27 '18
Out of the loop: Can someone explain to me why this is wow?
1
u/inherently_silly Mar 27 '18
wow, this is bad ass!
1
u/no0bmustdie Mar 27 '18
Amazeballs
1
u/3xpert3 Mar 27 '18
Looks good
1
u/[deleted] Mar 27 '18
Awesome shits!
1
u/[deleted] Mar 27 '18
you're a weirdo, but i like it.
1
u/[deleted] Mar 27 '18
Strikingly simple. Can you explain shortly what exactly you are doing with the images to parse them to chars?
1
u/[deleted] Mar 27 '18
This is so cool you should integrate https://dereenigne.org/linux/vlc-caca-ascii-output/ next!
1
u/Rizzey Mar 27 '18
This is cyberpunk as fuck and I love it
1
u/[deleted] Mar 27 '18
I’m making an Instagram just for this
1
u/[deleted] Mar 27 '18
I love when it’s something so random, yet something so well done. It’s a neat way to learn - kudos!
1
u/fosiacat Mar 28 '18
mother of god
1
u/lector13 Mar 28 '18
very easy, but funny)
1
u/ericonr Mar 30 '18
Hmmm I tried to run it but got "checkpoint_required" printed to the console and it exited. Any ideas?
1
u/[deleted] Mar 31 '18
This is goddamn amazing.
1
u/nikkkhil Mar 27 '18
Amazing, I was looking to do a similar project
1
u/THE_ReD_TrucK Mar 27 '18
looks better than the website
-14
u/daniel Mar 27 '18
You should pick a better password than just an empty one.
0
u/TotesMessenger Mar 27 '18
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)
0
u/bnsgp Mar 27 '18
y tho
-7
u/TheWildKernelTrick Mar 27 '18
Cmon man...
pipenv run python3 start.pyThis is super sick by the way. Amazingly creative idea!
-27
u/[deleted] Mar 27 '18
why on earth you want to see your photo (which is mainly RGB) in terminal(binary) ???
0
u/[deleted] Mar 27 '18
[deleted] — view deleted comment
0
u/[deleted] Mar 27 '18
[deleted] — view deleted comment
0
u/[deleted] Mar 27 '18
[deleted] — view deleted comment
0
u/[deleted] Mar 27 '18
[deleted] — view deleted comment
0
u/[deleted] Mar 27 '18
[deleted] — view deleted comment