Sorry, I even less of a PHP guy than you :(
I can confirm that we do indeed send the content of the notification in the
BODY, and that they're not empty.

I took the freedom of copying josh to the email as he's the most educated
person I know for both PubSubHubbub and PHP :) (thanks Josh!)

Cheers,


On Fri, Jun 25, 2010 at 3:44 AM, dret <[email protected]> wrote:

> hello julien.
>
> > Check the BODY of the notification, not the params.
> > It's a common mistake to check the params parsed by your http lib/client.
>
> i am using  $body = file_get_contents('php://input'); and for a test
> PHP page i am using and a POST request produced with poster (the
> firefox extension), that seems to work just fine. however, when i am
> using this in the callback, it does not seem to work. i should mention
> that i am definitely not a PHP expert, i just thought using some
> existing PHP client code might be the fastest way to get a client up
> and running. maybe i was wrong, but it seems to me that the PHP
> snippet shown above does indeed return the request body.
>
> cheers,
>
> dret.

Reply via email to