android - Get images from instagram from given hashtag -


i know how images instagram given hashtag. i've registered client , got client_id , client_secret. read instagram api, , found need access_token search images. means need user give authorization app infos. there other work around ? because, want search images given hashtag, didn't have user's information. , persuade user have provide access looking @ images, that're not theirs, not persuade.

and, in case have authorization client, should put in redirecturl ? fill random url instagram, because don't have server. run on local phone.

thanks advice.

you may images hashtag tag endpoint without access_token. add client_id query.

example: https://api.instagram.com/v1/tags/sometag/media/recent?client_id=client_id

quote instagram api:

you're best off using access_token authenticated user each endpoint, though endpoints don't require it. in cases access_token give more access information (ex: user_has_liked), , in cases, means operating under per access_token limit vs. same limit single client_id.


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -