-
Notifications
You must be signed in to change notification settings - Fork 247
Timeline.Get() is not working properly #147
Comments
It seems like Instagram renamed a field for the Timeline endpoint. https://github.com/ahmdrz/goinsta/blob/master/media.go#L656 the field |
here's the golang representation of the response body from Instagram timeline endpoint. my guess is that
|
Ok, I got a fix, in
I'm not opening a PR because |
I have this problem. And fix (https://github.com/ahmdrz/goinsta/blob/master/media.go#L656) don't work for me... |
@Highter87 something may have changed in the code since I opened this issue. For me it still works with code from July in my machine. Best for us is wait until someone sees this I guess |
@guitmz, Yesterday analyzed the answers from Instagram, and found that the changes are not only in the structure of "FeedMedia", but even in "Item". Therefore json.Unmarshal does not work. |
Ok I got the same with v2. However, the question - why goinsta v1 works fine for timeline??? |
Timeline.Get() is still not working? |
Made a pull request to solve this issue #322 |
I ran the example at https://github.com/ahmdrz/goinsta/blob/master/examples/timeline/timeline.go and I get the following output (the output is the media object, printed with
fmt.Printf("%+v\n", media)
):No
Items
are returned. I tried with different loop sizes, they all come back empty.Timeline.Stories()
seems to be working well.EDIT: renaming issue
The text was updated successfully, but these errors were encountered: