I have a facebook app working using the Facebook Development Tookit for .Net. It only does a setfbml call to add items to the users profile. Now I want to extend it so that it can publish to the user's feed (and wall, but feed primarily).
This facebook API snippet says for that you need stream.publish. Since Toolkit Alpha 1.0 doesn't support stream.publish directly, I decided to try to move to Alpha 2.0 but whenever I do I get two compilation errors I can't seem to figure out.
This line breaks
public partial class MasterPage : facebook.web.CanvasFBMLMasterPage
saying there is no namespace named "facebook" (although Facebook exists) and I can't find a class named CanvasFBMLMasterPage anywhere! The closest thing I have found is Facebook.Web.Ui.FacebookMasterPage, but it doesn't have a lot of the same properties
or methods as CanvasFBMLMasterPage so I can't use it directly.
The second compilation error is for this line
which just doesn't work for the reason mentioned above.
The really interesting thing is that moving back to Alpha 1.0 (facebook.web.dll & facebook.dll) did not make these errors go away. It wasn't until I dug up facebook.desktop.dll and referenced it that my
web application began working again. Can someone shed some light on what I am misunderstanding about this toolkit?