-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instagram Problem #129
Comments
Hello,
I'm not sure, you should remove your secret and client id (even refresh
those as you just leaked them). I'd recommend stepping through the calls or
look at them in fiddler. It looks like the code was already used, was
multiple calls using that specific code?
Thanks
-Blake Niemyjski
…On Mon, Jun 24, 2019 at 8:37 AM Ealireza ***@***.***> wrote:
I tried Google ,.. They seams be okey
but Instagram not working
i get code , but on verification , it failed.
after checking response from sent request i seen this
POST https://api.instagram.com/oauth/access_token HTTP/1.1
Accept: application/json, text/json, text/x-json, text/javascript, application/xml, text/xml
User-Agent: RestSharp/106.5.4.0
Connection: Keep-Alive
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 220
Host: api.instagram.com
code=ad7c8347d8b34e5498230c69c7cf66bc&client_id=84f00af332c141638db27bab3af6c7e2&client_secret=46d77a1af76644e2a04ee9051cba19db&redirect_uri=http%3A%2F%2Flocalhost%3A3777%2Finstagram%2Foauth&grant_type=authorization_code
{"error_type": "OAuthException", "code": 400, "error_message": "Matching
code was not found or was already used."}
it's Instagram problem?
of some thing else
any solution ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#129?email_source=notifications&email_token=AAHZFI4JSYHNKT5OTM75JFTP4DE2DA5CNFSM4H26XCQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3JPAYA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHZFI7GMBIAUA3SDCPWBATP4DE2DANCNFSM4H26XCQQ>
.
|
this is my code
the code that passed to this route , is okay . but i suspicious to GetUserInfoAsync method of Instagram. it seams that method send request to Instagram multiple time and cause of error and exceptions . |
You're callback is going to send back the grant_type as a query string parameter that's going to get lost is one issue. Can you import the source and step through it. |
possible send correct code ? |
I'd start by pulling in our source code and stepping through it. |
dear sir after a mount i come back here , to check is it work or not still have problem with Instagram user info
any way to fix ? |
I'd clone and reference the project and step through the call. I'd look at the returned json and look at what we are serializing it into. I think that will lead to this error and we can get to what's causing it. I don't use instagram, and we are both developers using this open source project, your help is appreciated. |
I tried Google ,.. They seams be okey
but Instagram not working
i get code , but on verification , it failed.
after checking response from sent request i seen this
{"error_type": "OAuthException", "code": 400, "error_message": "Matching code was not found or was already used."}
it's Instagram problem?
or some thing else
any solution ?
The text was updated successfully, but these errors were encountered: