I’ve having a desktop application (a little game) which must be able to post comment on user’s wall. Like “X won the tournement against Y and Z”.
I’ve been reading anykind of documentation and Facebook API but I can’t figure out. I have understand the way to do it : with the access token then get the information of the user using the GraphAPI and then be able to post it on his wall.
But, all the examples and the documentation haven’t really help me, they are just a part of. Moreover, Facebook are changing the way to do it…so I confused.
So I would like to know how to really do it. I mean, the easiest way is find for me. That’s a really small application for a few people, kind of first test application.
Thanks for any clue!
Finally,
I made a real 360 turn by simply not using facebook SDK. Someone told me about how easy it was to post only using http requests! And with the help of another post (http://stackoverflow.com/questions/6024912/asp-net-post-to-facebook-wall)
I figured out how to do this. Here’s my little simple code for doing that. Basicly, I used WPF to make a windows where the “user” would be able to connect to facebook and there’s also a textBox at the top for showing me things I want…token or web response…finally, I had 2 buttons : the first logs to facebook, the second one makes the post on facebook…there is the code in Window1.xaml.cs
and the Window1.xaml, for the WPF
all you have to do is creating a new WPF prodjet and write those lines in the files. Also you must change the appID and the userID. I used mine to test but it’s really simple to code for danamicly find the userID.
I hope it helps you even if it isn’t a solution using facebookSDK