How to send Notification?

Jun 19, 2009 at 9:50 AM

Hi all,

I am trying to send notification through My face book application using the below code: 

<font size="2">

facebook.

</font>

notifications nt = new facebook.notifications(api); <font size="2">

nt.send(userid

</font>

, "Some Text");

 

Here api is the Object of type API and contains all the information like "application key" and secret key, but this code is not working.

It is throwing the error "Incorrect signature". What else do i need to send notification? Kindly help.

Thanks,

Tushar