php - Pull single Instagram Feed from single user with hashtag using API -


i going building website upcoming client pull instagram feed of posts within account specific hashtag (use #helloworld @myaccount example).

recent updates instagram api make process confusing. can authenticate through gui interface once through client's account , store access token. being said, there doesn't seem clear way check if auth token has expired and, if has, request new 1 without requiring go through gui "allow app use..." interface. worried feed functionality may break on our site result of if token expire reason. missing here? there way continue re-authenticate through instagram without having this? not find clear information through documentation.

second, running on php-driven site. how go pulling posts single account particular hashtag once auth code has been received , verified valid. must limit hashtags single account. great, there doesn't seem great documentation since instagram updated api.

thanks!

there no way authenticate automatically without oauth redirects.

if access_token invalid api calls have error response

{"error_type":"oauthaccesstokenexception","code":400,"error_message":"the access_token provided invalid."} 

(your app not seem fall 1 of instagram approved usecases, i'm not sure app approved instagram, might want check first)


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -