application profile page

Oct 14, 2010 at 2:51 PM

does anyone know how to post to the wall on the application profile page?

Oct 15, 2010 at 1:18 PM

not sure if this is the best way but it worked so i thought i'd share it.

 

Facebook.Session.ConnectSession connectSession = new Facebook.Session.ConnectSession(apiKey, secret);
        Facebook.Rest.Api api = new Facebook.Rest.Api(connectSession);

        canvasSession.UserId = Convert.ToInt64("YourAppId");
              
        api.Stream.Publish(message, null, null, null, canvasSession.UserId);