Skip to content
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

Add CreateFromClientId method to InstagramService class. #24

Closed
abjerner opened this issue Apr 15, 2015 · 6 comments
Closed

Add CreateFromClientId method to InstagramService class. #24

abjerner opened this issue Apr 15, 2015 · 6 comments
Assignees
Milestone

Comments

@abjerner
Copy link
Owner

The InstagramService class can currently only be initialized by calling either CreateFromAccessToken(string accessToken) or CreateFromOAuthClient(InstagramOAuthClient client).

Since it is possible to use a client ID instead of an access token, a CreateFromClientId(string clientId) method should be implemented as well.

@abjerner abjerner self-assigned this Apr 15, 2015
@abjerner abjerner added this to the v0.9.3 milestone Apr 15, 2015
@abjerner abjerner modified the milestones: v0.9.4, v0.9.3 May 28, 2015
@abjerner
Copy link
Owner Author

Fixed and will be a part of the next release :D

@glaidler
Copy link

Hi, according to the current Instagram API docs, all requests require an access_token. Using this method passes a client_id for subsequent requests and throws an invalid access_token exception. Is this method of authentication now deprecated by instagram?

@abjerner
Copy link
Owner Author

Hi Graham,

To my knowledge it should still work, but I will look into whether Instagram has changed something that affects this.

However not all methods in the API support using a client ID. What API methods are you trying to call?

@glaidler
Copy link

Hi - even the one to retrieve media from a known user requires an access_token:
https://www.instagram.com/developer/endpoints/users/#get_users_media_recent

@abjerner
Copy link
Owner Author

Then it might be due to this update although they don't write so explicitly.

@abjerner
Copy link
Owner Author

Just to confirm. This is due to a change by Instagram. If you register a new app, you will automatically be limited by the new "rules", which among other things mean that you can't use a client ID.

I you have an old app - that is registered before the 17th of November, you will still follow the old rules, which means you can continue to use the client ID as before - at least until June 2016.

New apps should also be submitted for review before they can be used by your users. I have only just skimmed the details about the new changes. Maybe you will still be able to use your client ID once your app has been approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants