locked
asp.net with twitter using api RRS feed

  • Question

  • User-2074037068 posted

     How to check the twitter api is null .I want the code for it. I already implimented the facebook api null  

    bellow the facebook api null code 

     if (!IsPostBack)
    {
    try
    {
    if (Api != null)
    {
    Facebook_Graph_Toolkit.GraphApi.User U = new Facebook_Graph_Toolkit.GraphApi.User("me", Api.AccessToken);

    AccessToken = Api.AccessToken;
    UserId = U.ID;
    UserName = U.Name;
    Email = U.Email;
    SmallPic = Api.GetPictureURL(U.ID);

    ImgButtonWish.Enabled = true;
    ImgButtonJourney.Enabled = true;
    }

    }
    catch (Facebook_Graph_Toolkit.FacebookException ex)
    {
    Response.Redirect("logout.aspx");
    }
    -----------------
    Similerly I want the code for twiter
     TwitterInfo ti = new TwitterInfo();  
    
    
    Please send me the code
    Thursday, December 8, 2011 2:15 AM

All replies

  • User337423781 posted

    check this tutorial

    http://www.4guysfromrolla.com/articles/051210-1.aspx

    Saturday, January 7, 2012 8:01 AM