Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8754395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:36:38+00:00 2026-06-13T13:36:38+00:00

http://jsfiddle.net/MhhcS/1/ I am trying to modify an Instagram search JS to count and display

  • 0

http://jsfiddle.net/MhhcS/1/

I am trying to modify an Instagram search JS to count and display only the total number of tagged images for a certain tag.

The only response I get in my modified script is undefined, and I am clueless at this point.
You can see the API response from my request here.

What am I doing wrong or not doing at all here?

Any hint in the right direction is much appreciated…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:36:39+00:00Added an answer on June 13, 2026 at 1:36 pm

    With that structure of object you need to use the following to get media_count:

    data.data[0].media_count
    

    The first data is the variable you defined for returning information from the request. The second data is an array – hence the [0] to access the first element in it – containing the media_count parameter which tells you how many image were found.

    Example fiddle

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://jsfiddle.net/defencedog/2Skc7/ I am trying to remove the online class ONLY for administration which has
http://jsfiddle.net/nFFuD/ I'm trying to animate the search field in this example using jquery, making
http://jsfiddle.net/Zyjwb/5/ How can I display actual names of owners , based on the specified
http://jsfiddle.net/ww7dN/ I'm trying to design a page that is split in 2 colors all
http://jsfiddle.net/nicktheandroid/6BAfH/1/ The list-elements are sorted accordingly by the number in their span. Why is
http://jsfiddle.net/95pR2/1/ Essentially what the title says, I am trying to center the numbers to
http://jsfiddle.net/ZtpEU/41/ heres a simple animation in jquery. I'm trying to make it so the
http://jsfiddle.net/3V6MM/ Please tell me how can I write common style for class=property-title to display
http://jsfiddle.net/2CkKW/5/ I'm trying to have a button for comments in which you will press
http://jsfiddle.net/3eMGR/16/ I'm trying to make it so that on the first click it shows

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.