Click here to Skip to main content
15,890,845 members
Home / Discussions / Web Development
   

Web Development

 
QuestionDisplay Powerpoint Presentation using HTML5 Pin
Jassim Rahma18-May-14 3:25
Jassim Rahma18-May-14 3:25 
AnswerRe: Display Powerpoint Presentation using HTML5 Pin
Kornfeld Eliyahu Peter18-May-14 3:31
professionalKornfeld Eliyahu Peter18-May-14 3:31 
AnswerRe: Display Powerpoint Presentation using HTML5 - AgileInfoways.com Pin
Mark Simon19-May-14 2:35
Mark Simon19-May-14 2:35 
QuestionIP Address Lookup API / Web Service Pin
Jassim Rahma15-May-14 1:39
Jassim Rahma15-May-14 1:39 
AnswerRe: IP Address Lookup API / Web Service Pin
Mehul Bavarva15-May-14 2:37
Mehul Bavarva15-May-14 2:37 
QuestionGoogle News CSS Pin
Jassim Rahma12-May-14 13:16
Jassim Rahma12-May-14 13:16 
QuestionRe: Google News CSS Pin
Richard MacCutchan12-May-14 22:50
mveRichard MacCutchan12-May-14 22:50 
QuestionHow to post on facebook page? Pin
Snowjim12-May-14 7:44
Snowjim12-May-14 7:44 
Hi,

I have created a facebook page and a facebook application for my ASP.NET website and now I need to post messages from my ASP.NET webpage onto the facebook page with help of facebook SDK .NET.

This is what I got so far :

C#
public static bool UploadPost(string message)
    {
        dynamic result;

        //https://developers.facebook.com/tools/explorer/
        //https://developers.facebook.com/tools/access_token/
        FacebookClient client = new FacebookClient("secret access token");


        result = client.Get("oauth/access_token", new
            {
                client_id = "[Client ID number]",
                client_secret = "[Client sercret",
                grant_type = "client_credentials",
            });

        result = client.Post("[facebook app Id]/feed", new { message = "Test Message from app" });
        //result.id;
        result = client.Get("[facebook app Id]");

        return false;
    }

When running this I get(on client.Post) :
Additional information: (OAuthException - #200) (#200) The user hasn't authorized the application to perform this action 
If I remove the client.Post row every thing works good, the correct data is fetched.

I have tried follow some helps on facebook SDK .NET website but it is still not working.

Pleas help
Questionchange the header on scroll? Pin
Jassim Rahma8-May-14 8:24
Jassim Rahma8-May-14 8:24 
Questiontextarea to determine the URLs Pin
Jassim Rahma5-May-14 12:50
Jassim Rahma5-May-14 12:50 
AnswerRe: textarea to determine the URLs Pin
Praneet Nadkar8-May-14 0:15
Praneet Nadkar8-May-14 0:15 
Questionhow to calculate views? Pin
Jassim Rahma5-May-14 2:11
Jassim Rahma5-May-14 2:11 
AnswerRe: how to calculate views? Pin
nainakarri25-May-14 21:21
nainakarri25-May-14 21:21 
AnswerRe: how to calculate views? Pin
pandu web dev12-Aug-14 8:00
pandu web dev12-Aug-14 8:00 
Questionairline and hotel booking Pin
Jassim Rahma5-May-14 2:08
Jassim Rahma5-May-14 2:08 
AnswerRe: airline and hotel booking Pin
thatraja5-May-14 3:15
professionalthatraja5-May-14 3:15 
Questionposting to a href link Pin
tiwal4-May-14 23:19
tiwal4-May-14 23:19 
AnswerRe: posting to a href link Pin
Graham Breach4-May-14 23:59
Graham Breach4-May-14 23:59 
GeneralRe: posting to a href link Pin
tiwal5-May-14 0:03
tiwal5-May-14 0:03 
GeneralRe: posting to a href link Pin
Graham Breach5-May-14 0:18
Graham Breach5-May-14 0:18 
GeneralRe: posting to a href link Pin
tiwal5-May-14 0:31
tiwal5-May-14 0:31 
Questionlogin control not redirecting to previous page after login Pin
Nico Haegens3-May-14 10:37
professionalNico Haegens3-May-14 10:37 
AnswerRe: login control not redirecting to previous page after login Pin
Kornfeld Eliyahu Peter4-May-14 23:44
professionalKornfeld Eliyahu Peter4-May-14 23:44 
GeneralRe: login control not redirecting to previous page after login Pin
Nico Haegens5-May-14 0:08
professionalNico Haegens5-May-14 0:08 
GeneralRe: login control not redirecting to previous page after login Pin
Kornfeld Eliyahu Peter5-May-14 0:12
professionalKornfeld Eliyahu Peter5-May-14 0:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.