Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ismail Mayat 4511 posts 10061 karma points MVP 2x admin c-trib
    May 17, 2016 @ 12:41
    Ismail Mayat
    0

    Instagram GetRecentMedia exception

    Anders,

    For some reason with certain users when I try the following end point call:

    _instagramService.Users.GetRecentMedia(userId, 10).Body.Data
    

    I get

    _instagramService.Users.GetRecentMedia(userId, 10)' threw an exception of type 'System.OverflowException'
    base: {"Value was either too large or too small for an Int32."}
    

    When hit that users home page I do not see to many recent media.

    Any ideas why its erroring?

    Regards

    Ismail

  • Anders Bjerner 457 posts 2693 karma points MVP 5x admin c-trib
    May 17, 2016 @ 12:46
    Anders Bjerner
    100

    Yup. The IDs of locations can no longer be represented by Int32. If you update to Skybrud.Social to v0.9.4.2(which is about a week old), it should work ;)

  • Ismail Mayat 4511 posts 10061 karma points MVP 2x admin c-trib
    May 17, 2016 @ 13:07
    Ismail Mayat
    0

    Anders,

    Cheers will take a looksie.

    Regards

    Ismail

Please Sign in or register to post replies

Write your reply to:

Draft