This project is read-only.

Sessionless Notifications?

Feb 26, 2009 at 5:31 PM
I believe the Facebook API allows an app to send notifications without having a user session or even an offline_session key. Is this possible to do with Facebook.NET? I tried instantiation the FacebookApplication manually and doing it, 
        Dim o As New Facebook.Web.FacebookApplication
        o.Service.Notifications.SendNotification("1432537933", "Testing 123", Nothing)

but it throws an exception.
Feb 26, 2009 at 6:48 PM
I uploaded a patch in the source code section which allows for this:

        Facebook.Service.FacebookService o = new Facebook.Service.FacebookService(New Facebook.Service.Core.FacebookEmptySession("appkey", "appsecret"));
        o.Notifications.SendAppToUserNotification("userId", "Testing again 123.");