Comments (5)
Hi,
You can find a sample usage of jInstagram at https://gist.github.com/3971607
To run this, create a new Instagram client and register the following
callback url :
http://reveal-it.appspot.com/oauthtest
After that use the clientId and clientSecret in the code.
Let me know if you need any help.
Regards,
Sachin
On Mon, Oct 29, 2012 at 4:25 AM, Jefferson [email protected] wrote:
Hello everyone
I'm trying to use jinstagram I check the wikihttps://github.com/sachin-handiekar/jInstagram/wiki/jInstagram-Usageand the README.md.
I follow the usage (replace the values for necessary ones) and I get this
errorException in thread "main" org.jinstagram.auth.exceptions.OAuthException:
Cannot extract an acces token. Response was: {"code": 400, "error_type":
"OAuthException", "error_message": "No matching code found."}
at org.jinstagram.auth.InstagramApi$1.extract(InstagramApi.java:53)
at
org.jinstagram.auth.oauth.InstagramService.getAccessToken(InstagramService.java:53)Does someone help me with this?
Thank you
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/5.
from jinstagram.
Also can you please post your code here.
from jinstagram.
Hello Sachin
The source you provide me works here is my source (I created a question in stackoverflow), but I have a doubt, I checked this code is for access to my user's data in instagram, if I want to make an app when people login with their own users, how do I do this?, the wiki doesn't have anything about this.
Thank you,
Regards
from jinstagram.
Hi,
Can you tell me how are you getting the verifier code? As you've to use the
verifier code in a single session. (So if you are running the main method
twice, it won't work as the verifier code gets changed if you run the main
method again).
As the verifier code you are sending to the Instagram server for
comparison, might be different. And that's why you might be getting this
exception.
The example I've send you shows the verifier code in the redirect-uri. And
you've to copy & paste the code in the console.
And for building application for other users, it's better to test it as a
web-app.
I might be having a sample web-app, will send you once I find it.
Regards,
Sachin
On Mon, Oct 29, 2012 at 10:47 PM, Jefferson [email protected]:
Hello Sachin
The source you provide me works here is my sourcehttp://stackoverflow.com/questions/13114538/org-jinstagram-auth-exceptions-oauthexception-when-i-try-to-connect-to-instagram(I created a question in stackoverflow), but I have a doubt, I checked this
code is for access to my user's data in instagram, if I want to make an app
when people login with their own users, how do I do this?, the wiki doesn't
have anything about this.Thank you,
Regards—
Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-9877194.
from jinstagram.
Hello Sachin
Thanks for the quickly answer, I tested the example you give in the link
and it works perfectly, let me explain what i try to do, I'm building an
swing app, the user has to login with his/her instagram credential, the app
fills with instagram pictures, and then there is a manipulation of the
photos, to used locally, now I want to know how use jInstagram to take the
user credential an authenticate against instagram and get the user data (in
this case, photos).
I would like you can send me the app you told me.
Thank you
Regards,
Jefferson
On Mon, Oct 29, 2012 at 1:51 PM, Sachin Handiekar
[email protected]:
Hi,
Can you tell me how are you getting the verifier code? As you've to use
the
verifier code in a single session. (So if you are running the main method
twice, it won't work as the verifier code gets changed if you run the main
method again).As the verifier code you are sending to the Instagram server for
comparison, might be different. And that's why you might be getting this
exception.The example I've send you shows the verifier code in the redirect-uri. And
you've to copy & paste the code in the console.And for building application for other users, it's better to test it as a
web-app.I might be having a sample web-app, will send you once I find it.
Regards,
SachinOn Mon, Oct 29, 2012 at 10:47 PM, Jefferson [email protected]:
Hello Sachin
The source you provide me works here is my source<
http://stackoverflow.com/questions/13114538/org-jinstagram-auth-exceptions-oauthexception-when-i-try-to-connect-to-instagram>(I
created a question in stackoverflow), but I have a doubt, I checked this
code is for access to my user's data in instagram, if I want to make an
app
when people login with their own users, how do I do this?, the wiki
doesn't
have anything about this.Thank you,
Regards—
Reply to this email directly or view it on GitHub<
https://github.com/sachin-handiekar/jInstagram/issues/5#issuecomment-9877194>.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-9880762.
from jinstagram.
Related Issues (20)
- Placeholder for Maven release HOT 1
- Matching code was not found or was already used HOT 4
- oEmbed endpoint does not give html of embed HOT 1
- Is the project still maintained? Getting errors on most functions. HOT 2
- Verifier HOT 1
- oEmbed wrong api endpoint
- How to get list of following users of an profile? HOT 2
- Isnt the sex info available? HOT 1
- getMediaByTagsSpecialCharacter (org.jinstagram.InstagramTest) - jUnit Test Failing
- How to get multiple images in one post? HOT 6
- About user verified. HOT 1
- How to persist the authentication for later use?
- Constant type carousel - MediaFeedData.CAROUSEL HOT 1
- Release 1.2.2 HOT 2
- comments always null
- does not return more than the media HOT 1
- Support for GraphAPI? HOT 4
- How do I upload a photo with Jinstagram?
- Error while accessing Access Token HOT 4
- fetch user stories HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jinstagram.