Write on User Wall in Facebook App using Facebook Developer Toolkit

Nov 29, 2010 at 4:22 PM
Edited Nov 29, 2010 at 7:39 PM


I'm writing IFrame Canvas Facebook App that will be settled on Facebook Fun Page.
I'm using Facebook Developer Toolkit, ASP.NET 3.5 and C#.

My Application needs to put a designed Message on the User Wall when he clicks on a button.
From my Google Search I've found that I need to do two steps:
1. Grant "read_stream" permission when the user comes to the Application.
2. Post the message with Stream.

But I'm new in Facebook Application programing and I couldn't find any step by step explanation on how to do this.


Nov 30, 2010 at 2:07 PM


No Answer yet, so I've try this:

First creating constructor for my application:

IFrameCanvasSession session = new IFrameCanvasSession("xxxxxx", "xxxxx");
session.RequiredPermissions = new List<Enums.ExtendedPermissions> { Enums.ExtendedPermissions.publish_stream };

And then Posting the message on Button click:

Api api = new Api(session);

The only problem here is that Facebook doesn't redirect me every time when I Accept the application, it just show white page.

Any idea?