Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6606351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:23:12+00:00 2026-05-25T19:23:12+00:00

i searched a lot for an answer to this question but i did not

  • 0

i searched a lot for an answer to this question but i did not find any helpful resource. I am doing a post on my wall with “https://www.facebook.com/dialog/feed?app_id={0}&display=page&canvas=1&redirect_uri={1}“, works just fine, i posted on my wall and as a response i get a post_id in query string at my *redirect_uri* (i do the post with dialog).
Now what i cannot manage to do.. is to obtain the full post information with facebook graph, without using FQL, i found lots of examples of how to get it with FQL Select .. but i realy want to make this just with a Graph call.
I do all these in .net, i tried on the facebook grapk explorer: this is the exact url: http://developers.facebook.com/tools/explorer/266888499999433/?method=GET&path=100002843173627_116703548434417 .
Using the http GET method and having access_token i get the answer i want but doing this from my code i don’t succeed. if i do a GET to the http://graph.facebook.com/POST_ID i get an answer as string false… and if i add the ?access_token=MY_ACCESSTOKEN in querystring i get error 400 bad request.
i have a class with this method:

 public Facebook.JSONObject GetPostInfo(string postID)
    {
        //"&access_token=" + this.Token
        string url = "http://graph.facebook.com/" + postID ;
        string json = this.WebRequest(MyFacebookAPI.oAuthFacebook.Method.GET, url ,String.Empty);
        return Facebook.JSONObject.CreateFromString(json);
    } 

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:23:12+00:00Added an answer on May 25, 2026 at 7:23 pm

    OK.. i finally found the solution:

    if (CanvasAuthorizer.Authorize())
            {
                var fb = new FacebookWebClient();
    
                dynamic parameters = new ExpandoObject();
                parameters.message = txtMessage.Text;
    
                try
                {
                    dynamic id = fb.Post("me/feed", parameters);
                    lblPostMessageResult.Text = "Message posted successfully";
                    txtMessage.Text = string.Empty;
    
                    //get post id
                    IDictionary<string, object> data = new Dictionary<string, object>();
                    data.Add("access_token", CanvasAuthorizer.FacebookWebRequest.AccessToken);
                    dynamic thePost = fb.Get(String.Format("{0}", id.id), data);
    
                    string post = String.Format("Post:{0} From: {1} Message: {2}", thePost.id, thePost.from.name, thePost.message);
                    lblPostMessageResult.Text = Environment.NewLine + post;
                }
                catch (FacebookApiException ex)
                {
                    lblPostMessageResult.Text = ex.Message;
                }
            }
    

    where first part makes the post with “message”
    and second part we get post with the id we got back from the post.

    You need to have extended permissions: publish_stream,read_stream in order for this to work + adding the access_token as parameter into the Get method.
    I hope my post will help some people that have troubles getting it right.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've searched a lot for this but I can't find any answer about how
I searched a lot but couldn't find a answer for this question: Is there
I've searched a lot but I couldn't find the proper answer to my question
HI! I have searched a lot, but I didn't find the answer to this
I know this is not a technical question but I've searched a lot of
Searched a lot about this problem but never found a answer, that solved it.
I searched a lot but I can't find an answer. In my contact.php I
I've searched a lot within SO but I can't find the right answer for
Hy there I searched a lot on google, but couldn't find an answer. Maybe
I searched a lot but could not find a way to dump table relations

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.