Live data from Hacker News

Show HN: Animated GIF of latest World Cup Goal in Slack and Hipchat

github.com

21–23 of 23 posts

Re: Show HN: Animated GIF of latest World Cup Goal in Slack and Hipchat

#22
post #19

Not sure how the webhooks are supposed to work? Pressing test seems to produce an empty POST: http://requestb.in/11fvs2r1?inspect Would like to integrate this in my irc bot, but need to know the format to expect.

This is how I send the data to a default webhook https://github.com/xdamman/ReplayLastGoal/blob/master/hooks/... It's being sent as a classic POST request. You should be getting the following attributes: text=Goal for Belgium! #URU 1-1 #ENG #WorldCup \n📺Video: gif= http://replaylastgoal.com/videos/2014-06-19-20-31-24.gif video=... ... See also https://github.com/xdamman/ReplayLastGoal/blob/master/test/h...

Thanks! Got it working I think. The test worked, and I saved and it told me the hook was activated, though I received no notification for the german goal. Maybe I was a bit too late, since I only registered several minutes before the goal happened.

Re: Show HN: Animated GIF of latest World Cup Goal in Slack and Hipchat

#23
post #19

Earlier quoted context omitted.

This is how I send the data to a default webhook https://github.com/xdamman/ReplayLastGoal/blob/master/hooks/... It's being sent as a classic POST request. You should be getting the following attributes: text=Goal for Belgium! #URU 1-1 #ENG #WorldCup \n📺Video: gif= http://replaylastgoal.com/videos/2014-06-19-20-31-24.gif video=... ... See also https://github.com/xdamman/ReplayLastGoal/blob/master/test/h...

Thanks! Got it working I think. The test worked, and I saved and it told me the hook was activated, though I received no notification for the german goal. Maybe I was a bit too late, since I only registered several minutes before the goal happened.

No POSTs for any of the other goals :(
Post reply on HN