Click here to Skip to main content
15,900,724 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I use web(url) in matlab to open instagram site but when i use web(url,option) dont work
Option=(username,password)
......
And when i use jurlconnection it doesnt work
I use base64 and jurl connection and use my username and my password but it dosenot connect
This is my uni project
My classmates have bought the program code. But i havenot enough money to buy code.
Please solve this for me in 7 days.
Thanks

What I have tried:

I use jurlconnection but it dosenot work
Posted
Updated 11-Feb-18 5:45am
Comments
David_Wimbley 7-Feb-18 12:16pm    
You need to post some code of what you've tried rather than just trying to describe what you've done.
Member 13661784 7-Feb-18 12:48pm    
Dear david it is my try
jurl = java.net.URL(url)
conn=jUrl.openConnection()
conn.setRequestprpperty('Authorization',['Basic'base64code([user':'password])])
conn.conect()

1 solution

Have a look here:
Instagram Developer Documentation[^]
Here is very interesting GitHub java library: GitHub - sachin-handiekar/jInstagram: A Java library for the Instagram API.[^]

Try!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900