Reputation: 2868
I have over 10 customers are complaining the social feeds aren't loading on their live websites any more.
Since Instagram changed its API and policy on June 1st instafeed cannot fetch data from hashtags any more. There should still be access to your personal Instagram feed (after creating a developer.instagram account).
I have this as code, but I get the error userId not given (see below). But you can clearly see there is a userId set. Am I missing something?
var feed = new Instafeed({
get: 'user',
userId: '2165473659',
clientId: 'f07ffe90593f41079777e82d67fd3f18',
limit: 9,
// ....
Here you can find my full JS function where I use the instafeed.js
The error I get:
Uncaught Error: No user specified. Use the 'userId' option. instafeed.js:223
Upvotes: 0
Views: 859
Reputation: 4279
Prior to version v1.4.0, Instafeed.js required the userId
option to be a number rather than a string.
You can either upgrade your copy of the library, or change the userId
option in your example to be (note the absence of the "
quotes):
var feed = new Instafeed({
get: "user",
userId: 2165473659,
clientId: "f07ffe90593f41079777e82d67fd3f18",
limit: 9,
// ...
});
Upvotes: 2