Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ownyourgram won’t send gram to my micropub endpoint … #16

Closed
diplix opened this issue Sep 18, 2015 · 12 comments
Closed

ownyourgram won’t send gram to my micropub endpoint … #16

diplix opened this issue Sep 18, 2015 · 12 comments

Comments

@diplix
Copy link
Contributor

diplix commented Sep 18, 2015

… unless i press the test button.
ownyour gram show an old response from my micropub endpoint and only after i press test, the gram will be posted to my site. i didn’t check the logs on my side, but may actually nothing changed on my side? maybe i have to renew my instagram permissions?

bildschirmfoto 2015-09-19 um 00 50 19
(before i press test)

bildschirmfoto 2015-09-19 um 00 55 28
(after i press "test")

@adactio
Copy link

adactio commented Sep 19, 2015

I'm seeing the same issue, I think. About 48 hours ago, OwnYourGram stopped posting automatically when I posted something on Instagram. But if I log in to OwnYourGram and do a test post, everything works fine.

@aaronpk
Copy link
Owner

aaronpk commented Sep 19, 2015

The same thing happened to one of my accounts as well. Logging in and doing a test post worked, but I haven't been getting new photos from it yet. Unfortunately I don't have a lot of visibility into this kind of thing from my end.

The Instagram API is supposed to deliver photos to my app for anyone who has logged in with it. (see https://instagram.com/developer/realtime/) Right now I can see that the app's subscription is active, and there are still some photos coming through. I'm just not getting post requests from Instagram for some users.

@adactio
Copy link

adactio commented Sep 28, 2015

Hmmm ...I thought this issue had cleared itself up, but now it's back again: any time I post to Instagram, it doesn't show up on my site unless I go to ownyourgram.com and do a manual refresh.

@diplix
Copy link
Contributor Author

diplix commented Sep 28, 2015

FYI, i disconnected instagram and ownyourgram (a week ago), re-authenticated, but it didn’t fix the issue.

@aaronpk
Copy link
Owner

aaronpk commented Sep 28, 2015

Same for me, it's still not sending my photos over. If this were broken for everyone I would suspect it's something wrong with OwnYourGram, but it's still working for a lot of people. Basically Instagram is just not including some people's posts when they send updates to the app. I think I'm going to try making a brand new client ID, but that is going to require everyone to log in to OwnYourGram again. I'll post back when I decide what to do.

@aaronpk
Copy link
Owner

aaronpk commented Sep 28, 2015

oookay well I managed to track down one issue, which caused the upload worker to crash a day-ish ago, stopping everyone's photos from uploading. I apologize for any duplicates that ended up on your sites, I know that there are a few extra photos on @adactio's site now. So that at least explains why the photos stopped the other day.

I'm pretty sure the underlying issue is still present, that some people are just missing from the realtime feed. Will keep digging.

@aaronpk
Copy link
Owner

aaronpk commented Nov 25, 2015

Didn't realized it has been so long since last posting here. Still no luck tracking down why Instagram is only sending realtime pings for some users. I'm considering adding a polling mechanism to catch the cases when Instagram forgets to ping OwnYourGram.

@diplix
Copy link
Contributor Author

diplix commented Nov 25, 2015

that would be great — and it would also lead to more „Top users this week“ — which are actually the lucky ones, that still get pings from instagram.

@kylewm
Copy link
Contributor

kylewm commented Nov 26, 2015

I wonder if you hit an undocumented user limit for the realtime API. I know at about ~50 users the Twitter streaming API starts throwing a fit

@kylewm
Copy link
Contributor

kylewm commented Nov 26, 2015

Also note that the /developers/realtime link is broken and now https://instagram.com/developer/deprecated/realtime/ though https://instagram.com/developer/subscriptions/ seems to describe the same feature.

@aaronpk
Copy link
Owner

aaronpk commented Nov 28, 2015

@kylewm that's interesting. Strangely, the endpoint documented on the new page for listing subscriptions does in fact show my subscription is active!

{
  "meta": {
    "code": 200
  },
  "data": [
    {
      "object": "user",
      "object_id": null,
      "aspect": "media",
      "callback_url": "http://ownyourgram.com/instagram/callback",
      "type": "subscription",
      "id": "4308036"
    }
  ]
}

@aaronpk
Copy link
Owner

aaronpk commented May 28, 2016

I'm going to close this issue since the realtime capability will be shut off next week anyway, and I have to switch to polling. See #25 and #26.

@aaronpk aaronpk closed this as completed May 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants