Code not working in p5.js with JSON data?

As I had already explained on your previous topic:

Your JSON file is a JSONArray of 2 JSONObject entries.

So you 1st need to specify the indexed entry number in order to access 1 of those JSONObject objects:
data[1].oneam.instagram or data[1]['oneam']['instagram']

2 Likes