Sunday, 15 April 2012

c# - Posting to Facebook with Share Dialog from Windows Forms application -



c# - Posting to Facebook with Share Dialog from Windows Forms application -

can share links examples posting facebook windows forms application using facebook sdk or using url displays "post facebook" dialog allow user fill in message before clicking share button.

i've searched around examples assume either javascript beingness used or message beingness posted straight using sdk no chance user provide message first.

i'm using c# , .net 4.0 create windows forms application this. i've obtained application id facebook , can post code:

facebookclient fb = new facebookclient(accesstoken); var parameters = new { name = "myappname", caption = "caption goes here", description = "description goes here", link = "link goes here", image = "link picture" }; fb.post("me/feed", parameters);

i want show share dialog rather post directly. suggestions i'm missing?

c# facebook winforms facebook-graph-api

No comments:

Post a Comment