instafeed.js | A simple Instagram JavaScript plugin for your website | REST library
kandi X-RAY | instafeed.js Summary
kandi X-RAY | instafeed.js Summary
Instafeed.js is a simple way to display your Instagram photos on your website. Version 2 of Instafeed.js is now available, powered by the new Instagram Basic Display API. For help upgrading from v1, see the v2 migration guide.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of instafeed.js
instafeed.js Key Features
instafeed.js Examples and Code Snippets
Community Discussions
Trending Discussions on instafeed.js
QUESTION
I'm trying to use an API which returns me a JSON so I can use it on my function.
Imports
I'm importing Jquery, instafeed.min.js and the API (instant-tokens.com).
...ANSWER
Answered 2021-May-04 at 14:46Update
For some reason, it worked after I added the instafeed function manually to my code, instead of linking it from an external source.
And at the end, I'm making an ajax request.
QUESTION
So I need to show only one Instagram picture, which is the newest picture from the Instagram account. This HTML code shows all the pictures the account has.
...ANSWER
Answered 2020-Oct-04 at 17:58You can limit the number of records, as per the documentation e.g,
limit : 1
in Instafeed Object.
QUESTION
I am using the JavaScript project, Instafeed.js
to output an Instagram profile onto my website.
The project allows you to create HTML templates using a moustache style template.
I want to remove all hashtags from the Instagram posts's caption.
Here is the code on my webpage. In Instafeed.js
Instagram feed options are referenced using {{image}}
, {{timestamp}}
. {{caption}}
, etc...
Everything worked fine until I started trying to remove the hashtags with regexp.
...ANSWER
Answered 2020-May-26 at 17:50You can use this regular expression :
QUESTION
Does instafeed.js only work with an active website? I'm trying to add my friends instagram photos to the website I'm creating for him but the website is not yet 'live/active' so I feel this must be the reason why it's not working.
Does the instafeed.js work in test mode?
...ANSWER
Answered 2018-Jan-14 at 04:58You need to (or get your client to) log into the Instagram account which you want to grab feeds from.
Visit http://instagram.pixelunion.net/
Authorize the apps to generate the access token.
QUESTION
I have been using instafeed on a few projects over the past years, all without to many issues. With Instagrams new API requirements im running into some issues and any help would be just super -
So far I have set up the basic API accsess (generated my ID and accsessToken) -
(so I have completed the docs here - https://developers.facebook.com/docs/instagram-basic-display-api/getting-started)
Im now trying to get my ClientID but cannot seem to find where to do this (given that this chnage is new, allot of the infomation I find online refers to the old way of doing this, which was from:
https://www.instagram.com/developer/clients/register/
However this now returns:
New registrations not supported anymore)
So questions (and again any help here would be really appreciated) -
1) Can you still use instafeed js to show your instagram posts on your site (with all these chnages to the API is it still valid for new accounts)
2) How can I now generate a ClientID?
i.e. (this is from instafeed.js)
...ANSWER
Answered 2019-Nov-18 at 23:06Since Instagram doesn't support new developer registrations, you won't be able to get a working clientId
for your feed. Instagram's old API is being turned off completely on March 2, 2020, and is in the process of being replaced with the Instagram Graph API - particularly the Basic Display API.
The 'no new developer accounts' policy also extends to 'no new apps', so even if you had an existing dev account, you wouldn't be able to create a new ClientID anyway.
So, to answer your questions:
- No, not for new accounts.
- You can't as far as I know
- I'm not aware of a method to embed a user's IG feed in another website via the new API, using only client-side code (which is how instafeed.js works). More detail on that below.
For instafeed.js specifically, we're investigating whether it's possible/practical to provide a similar result with the new APIs. At this stage, the authentication scheme makes it seem impractical, and there is definitely no mention of 'show my feed on another website' in the examples of allowed use-cases. It may be possible with a server-side application, but not by just dropping a snippet of JS in a page.
Lastly, I'm speculating here, but my strong impression is that this use-case is not desired by FB/IG. The old API had its permissions tightened continuously before it was finally deprecated. It would be trivially easy for FB/IG to provide a simple 'embed my feed' facility with the new API if they wanted to - my assumption is that they want users on instagram.com or in the app to look at that content, not out elsewhere on the web.
QUESTION
Currently using the old instagram API (deprecating in 2020) with instafeed.js it is easy to generate a blog type website fetching from the clients instagram website using an access_token. What I am trying to do is a website, only fetching the costumers posts from instagram displayed in a costume theme and using information from their facebook page for about, imprint and contact sections.
In a Nutshell what I am doing tih the old Instagram API
...ANSWER
Answered 2019-Apr-24 at 20:37This really is a hustle but the page you linked links again to some brilliant answer on how to retrieve a permanent access token.
It seems that actually all you need is that permanent access token and the connected Instagram business user ID following the official Getting Started guide.
If you have the permanent access token and this business user ID it seems you don't necessarily need to have your app reviewed to make it work. I don't even need to switch this app to "Live" for now. It's just working now.
Although I don't know if a may hit some quotas too early. But even this can easily be circumvented by just caching the API response into some database and let the API only be called hourly using a cron mechanism.
QUESTION
Im using the Instafeed script to get the instagram feed and display it on my page. See GitHub. You can see it working live on my page (bottom side)
It's work's, the only problem is that the script get the 150x150 thumb resolution, and I want the 250x250px because I want to make the custom height to 210px (Using the max-height and width auto on the CSS img class).
...ANSWER
Answered 2019-Mar-13 at 14:38The resolution options with Instafeed are thumbnail
, low_resolution
and standard_resolution
. These translate to the image sizes provided by the Instragram API. These are a 150px x 150px thumbnail, an image with a max size of 320px and an image with a max size of 640px.
So to display at 210px x 210px I would go for the middle one (low_resolution
). Change this line:
QUESTION
I'm using CSS Grid to display all the photos pulled in by instafeed.js. It works for the first set of photos perfectly, but when I add a "Load More..." button using the next()
function it entirely breaks the grid layout.
The image shows the first red box which are the initial images that load fine then a second red box which are the images that load when using next()
.
ANSWER
Answered 2019-Feb-27 at 16:51Adding grid-auto-flow: dense;
to my .grid-gallery
CSS made it work.
QUESTION
I have a Instafeed JS code that basically displays my latest posts on my site, but the issue that I'm coming across is that my unordered list circles are popping up when their not supposed to.
Here is the live preview (http://www.eventsinstlouis.com/promote.html/) and hover over one of the pictures and you will see the unordered list circles pop up.
Could I replace the ul and li tags with div and still keep the same formatting?
Here is what it currently looks like:
I believe the answer lies within:
...ANSWER
Answered 2018-Jul-23 at 00:42If you're looking to remove these circles that appear on the list elements when you hover,
This little snipped is all you need to add to your css,
QUESTION
I have a modal that I am successfully opening with a button:
...ANSWER
Answered 2018-Jul-24 at 12:20The Id you are using is wrong. Try this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install instafeed.js
Create a Facebook app linked to Instagram, and add yourself as a test user. See Managing User Tokens.
Create an access token and provide it to an Instagram Token service
Add the instafeed.js script to your web page and provide some simple options. See Basic Usage
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page