publicpartialclass _Default : Page {
Facebook.Components.FacebookService _fbService =
new
Facebook.Components.FacebookService();
protectedvoid
Page_Load(object sender,
EventArgs e) {
// ApplicationKey
and Secret are acquired when you sign up for
_fbService.ApplicationKey =
"YOURKEYHERE";
_fbService.Secret =
"YOURSECRETHERE";
PartialPublicClass _Default
Inherits Page
Private _fbService
As Facebook.Components.FacebookService = _
New
Facebook.Components.FacebookService()
ProtectedSub
Page_Load(ByVal sender
AsObject, ByVal
e As EventArgs)
' ApplicationKey
and Secret are acquired when you sign up for
_fbService.ApplicationKey =
"YOURKEYHERE"
_fbService.Secret =
"YOURSECRETHERE"