Skip to content

JSON::ParserError on user(user_id).recent_media endpoint #4

@mdunnettstone

Description

@mdunnettstone

user(user_id).recent_media endpoint results in JSON::ParserError for me.

Example code @instas = InstagramApi.user('testusername').recent_media

Error response is significant. Here's a taster - can share more if wanted.

784: unexpected token at ' <title> Page Not Found • Instagram </title> <script type="text/javascript"> (function() { var docElement = document.documentElement; var classRE = new RegExp('(^|\s)no-js(\s|$)'); var className = docElement.className; docElement.className = className.replace(classRE, '$1js$2'); })(); </script> <script type="text/javascript"> (function() { if ('PerformanceObserver' in window && 'PerformancePaintTiming' in window) { window.__bufferedPerformance = []; var ob = new PerformanceObserver(function(e) { window.__bufferedPerformance.push.apply(window.__bufferedPerformance,e.getEntries()); }); ob.observe({entryTypes:['paint']}); } })(); </script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions