after download and install facebook c# sdk, I cant find function WebFacebook.Navigate..
why this happen to me? cz this I cannot continue my project. any idea? Thanks
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Facebook;
namespace FaceBook
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
string OAuthURL = @" https://www.facebook.com/dialog/oauth?client_id=1615871262024203&redirect_uri= https://www.facebook.com/connect/login_success.html&response_type=token ";
WebFacebook.Navigate(OAuthURL);
}
}
}
Guessing you're (sort of) following the code here (or similar): http://www.emoticode.net/c-sharp/facebook-oauth-getting-basic-user-infos.html
But you apparently skipped the step where you need to put a
WebBrowsercontrol on your form/window and name itwebfacebookwhich would allow thatNavigatecall to actually mean something...