none
Facebook Status Update using C# Win form App

    Pergunta

  • Hello To every Member

    I am getting exception when i use below code to update facebook status.

    System.Net.WebClient wc = new System.Net.WebClient();
    wc.UploadString("https://graph.facebook.com/me/feed?access_token=" + this.accessTokenString+"%", "message=" + msg); 
    exception i m getting is Remote Server returned an error :400(bad request)

    please anyone help me in this regard.

    and i have successfully extract the accesstoken from given string so its not a problem. 

    [Please Mark the Answers if it is the solution of your problem]
    terça-feira, 17 de maio de 2011 07:26

Respostas

  • error solved :)

    it was horrible mistake which i tried to solve i shuld use '&' operator instead of '%' :) 
    [Please Mark the Answers if it is the solution of your problem]
    • Marcado como Resposta techmania terça-feira, 17 de maio de 2011 08:44
    terça-feira, 17 de maio de 2011 08:44

Todas as Respostas

  • Please check with your access token string and message whether those are correct or not.  

    Thanks,

        Anand

    terça-feira, 17 de maio de 2011 07:48
  • error solved :)

    it was horrible mistake which i tried to solve i shuld use '&' operator instead of '%' :) 
    [Please Mark the Answers if it is the solution of your problem]
    • Marcado como Resposta techmania terça-feira, 17 de maio de 2011 08:44
    terça-feira, 17 de maio de 2011 08:44