question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with initialization

See original GitHub issue

Expected behavior

I tried adding the code below: jQuery.fn.spectragram.accessData = { accessToken: '[your-instagram-access-token]', clientID: '[your-instagram-application-clientID]' };

Actual behavior

The console returns the following error.

Uncaught Error: Method [object Object] does not exist on jQuery.spectragram

Steps to reproduce this behavior

I am using jQuery version 1.13

Do you know what may be wrong? Thanks in advance.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
adrianenginecommented, Oct 6, 2017

Hi @nosugarsociety You need to pass the query with your username and the method getUserFeed:

$('.feed').spectragram('getUserFeed',{
      max: 4,
      query: 'nosugarsociety',
      wrapEachWith: '<div class="photo">'
    });
0reactions
nosugarsocietycommented, Oct 6, 2017

Thank you so much. @adrianengine

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dealing with initialization problems
Problems writing to this directory are the most likely cause of initialization failure. A default cache name is created that includes the username...
Read more >
Initialization Errors - ADM Help Centers - Micro Focus
Initialization Error - Driver Failed to Initialize. Communication is not active! There has been a problem initializing the driver.
Read more >
Initialization Problem
Slide 12 of 13.
Read more >
A problem of order - constructor initialization
The real code was much more complex and so much harder to debug. ... }; In the real code the initialization was more...
Read more >
Initialization Error Dead By Daylight FIX ? DBD ... - YouTube
... gamers nows the time to solo q knowing there's no baby survivorsWhen it will be fix? Error Dead By Daylight. dbd initialization...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found