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

  • SEARCH
  • Home
  • 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 8685819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:40:24+00:00 2026-06-12T22:40:24+00:00

I use Facebook 3.1 and try comment on a particular post. I have used

  • 0

I use Facebook 3.1 and try comment on a particular post. I have used the following code. I have used the below mentioned permissions also while creating session:

read_stream,offline_access,publish_stream,share_item

The code:

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"This is my comment", @"message", nil];
NSString *string=[NSString stringWithFormat:@"https://graph.facebook.com/153125724720582_184234384932460/comments?access_token=%@",appDelegate.session.accessToken];
[FBRequestConnection startWithGraphPath:string
                     parameters:params
                     HTTPMethod:@"GET"
                     completionHandler:^(FBRequestConnection *connection,
                       id result,
                       NSError *error) {
                         if (error) {
                           NSLog(@"Error: %@", [error localizedDescription]);
                         } else {
                           NSLog(@"Result: %@", result);
                         }
}];

Response  : 
Result: {
    comments = 1;
    id = "https://graph.facebook.com/153125724720582_184234384932460/comments";
}

But my message is not updated on commented post id.

Same code with Post request also I have tried but Response is:

Result: {
    "FACEBOOK_NON_JSON_RESULT" = false;
}
  • 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-06-12T22:40:26+00:00Added an answer on June 12, 2026 at 10:40 pm

    You should use an HTTP POST and make sure that the user has granted publish_stream permissions.

    You should copy and paste the API call (and the access token) into the Graph Explorer to test your call out.

    (Also use the access_token debugger to make sure the permission is there)

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

Sidebar

Related Questions

Do I have to install facebook.apk on my android device before try to use
I'm having a status_id and try to post a new comment to: POST https://graph.facebook.com/STATUS_ID/comments
I have an application, Just you can imagine as Facebook comment system, where post,
When you use facebook connect on the iPhone do you have to use the
I have to develop web2py app and have to use Facebook sdk in that.
I try to get parse JSON response for the following link: https://graph.facebook.com/feed/?ids=135395949809348,149531474996&access_token= The response
I am trying to sign in Facebook with OAuth. I use following url: https://www.facebook.com/dialog/oauth?client_id=233884670034708&redirect_uri=http%3A%2F%2Fapps.facebook.com%2Fdemoappfbm&scope=publish_stream&response_type=token
I use a modified script from Logging into facebook with python post : #!/usr/bin/python2
When I use the search box in Facebook and try to find a user,
I want to pull posts from a users Facebook wall. The following code snippet

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.