![]() No jQuery required, just plain ol javascript. Note that using Jekyll is not a requirement. Instafeed.js is a dead-simple way to add Instagram photos to your website. Name Last modified Size Description Parent Directory - instafeed.js 08:12. INSTAFEED JS HOW TOPlease read the installation manual on how to set Zapier up. Index of /wp-content/themes/jupiter/assets/js/plugins/wp-enqueue. This requires just a few lines of Javascript and a touch of CSS. Therefore, we only have to visualize the RSS feed. Zapier takes care of the CORS policy on the RSS feed. When it discovers a new post/image, it adds this to a Zapier RSS feed that has nothing to do with Instagram. Using this token it listens to the users feed on a five minute interval. For help upgrading from v1, see the v2 migration guide. Version 2 of Instafeed.js is now available, powered by the new Instagram Basic Display API. Zapier authenticates with Instagram and gets the required long lived access token. Instafeed.js is a simple way to display your Instagram photos on your website. For the server-side part I used Zapier (for free). The solution I came up with is actually quite simple: fully split the server-side and client-side part and use XML(RSS) as an intermediate. I looked at skipping the authentication by scraping a users public profile page, but came to the conclusion that cross-origin resource sharing (CORS) and potential IP-blocking from Instagram would make that a difficult and unreliable route. If you want to fix, we will help you, but the image ratio will be smaller. Be warned, though, a deep knowledge of JavaScript is. A pure Javascript solution, like Instafeed.js, that directly gets content from Instagram, is no longer possible. Control how your Instagram feed is implemented using Instafeed.js. The new Instagram Basic Display API requires server-side scripts. However, Instafeed.js was not only non-trivial to set up, but it also relied on the legacy API from Instagram that will be discontinued on March 2nd 2020 or March 31 2020. To show a users Instagram account pictures I have been using Instafeed.js. Still want Instagram on your website without API? Check my new post. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |