Subscriptions Not Receiving Timeline Notifications

混江龙づ霸主 提交于 2019-12-11 21:59:45

问题


Steps to Reproduce (unexpected behavior in bold):

  1. I successfully create an app contact via the Python Starter App
  2. I successfully subscribe to timeline notifications
  3. I take a photo with Glass
  4. I share that photo with my app contact
  5. The photo is duplicated on the timeline
  6. The app's callbackUrl is never pinged (yet POSTing manually via curl works fine)
  7. Attempting to delete the duplicated photo card makes the Glass OS glitch out until reboot

回答1:


Posting some sample code with actual URLs may help us spot a possible error, but two things you may want to look into as you're debugging:

  1. Don't forget that the URL in your contact must be HTTPS. HTTP URLs are not supported.

  2. Check the contact object that is returned when you create the contact. It may be worth checking to make sure the URL and everything else is as you expect it to be... and then test against THAT URL.

Can you also clarify what you mean by "glitch out" in this case?



来源:https://stackoverflow.com/questions/19712811/subscriptions-not-receiving-timeline-notifications

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!