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 8698643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:46:20+00:00 2026-06-13T01:46:20+00:00

Ok, I know how to post to a USER’s wall (timeline?), that works well.

  • 0

Ok, I know how to post to a USER’s wall (timeline?), that works well.

What I want is when the user does certain things on his iPhone, that should appear as a post on the APP’s wall. The post should be in the USER’s name.

Something like:

Lucky Luke says: hi everybody

Zaphod Beeblebrox started using Awesomeapp

PLUS: only users of the app should be able to post to the app’s wall (I saw the settings on the page’s «Manage Permissions»-part where I can set who can post to the wall. I don’t want everybody to make posts)

If I’m right, that post would automatically appear in the user’s feed, too, wouldn’t it? Or do I have to make a second post to the user’s wall?

I request the following permissions when a user first uses the app: @”user_photos”,@”user_videos”, @”manage_pages”,@”read_stream”, @”publish_stream”,@”user_checkins”,@”friends_checkins”,@”email”,@”user_location”

(recently added the read_stream and manage_pages as I read that somewhere – didn’t help, though 🙂

This is the piece of code I use to make the post:

NSString *graphPath = [NSString stringWithFormat: @"/%@/feed?access_token=%@", FBAppID, [FBAccessToken stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding]];
    NSLog(@"graph path %@", graphPath);
    NSDictionary *postParams =
    @{
        @"Test": @"message"
    };


    [FBRequestConnection
     startWithGraphPath:graphPath
     parameters:postParams
     HTTPMethod:@"POST"
     completionHandler:^(FBRequestConnection *connection,
                         id result,
                         NSError *error) {

         if (error) {
             NSLog(@"error: domain = %@, code = %d, %@",
                          error.domain, error.code, error.description);
         } else {
             NSLog(@"Posted action, id: %@",
                          [result objectForKey:@"id"]);
         }
         // Show the result in an alert
     }];

Which returns an error 100 (Missing message or attachment – OAuthException)

I googled like two days now and couldn’t find any appropriate guidelines… HELP!!! 🙂

[Edit] I might be on to something…

Seems like the NSDictionary *postParams @{@"Test": @"message"}; was the problem.
When I used the proper [[NSDictionary alloc] initWithObjectsAndKeys: ...]; it seems to work… we’ll see 🙂

[Edit] Ok – I should take a break, it seems…

initializing a dictionary with @{…} requires the key first and then the object, vs [NSDictionary dictionaryWithObjectsAndKeys:…] which sets the object first and then the key…

I feel kinda stupid right now…

  • 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-13T01:46:22+00:00Added an answer on June 13, 2026 at 1:46 am

    this is how i do this in my code:

    NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                   @"My app's name", @"name",
                                   @"Some cool caption", @"caption",
                                   @"Super description", @"description",
                                   @"http://stackoverflow.com//", @"link",
                                   nil];
    
    
    [FBRequestConnection startWithGraphPath:@"me/feed"
                                 parameters:params
                                 HTTPMethod:@"POST"
                          completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
    
           .....
     }];
    

    Please notice the GraphPath, it is a little bit different than yours. Also in my Info.plist there is a facebookId value:

    <key>FacebookAppID</key>
    <string>123456789876543</string>
    

    and facebook url scheme:

    <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>fb123456789876543</string> (fb + your app id)
            </array>
        </dict>
    </array>
    

    and i have facebookSDK added to the project (i think you did this already)

    so this stuff is enough for me to post to my wall at least

    so please take a look of your facebookAppID, maybe there is something in it,
    and just in case this is the official facebook tutorial

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

Sidebar

Related Questions

I need to post a user-specific text, determined by him, on his wall/timeline when
For Example, I want to know the User have how many post. So, I
I know there is this post , but I still want to know more
Does anyone know how to insert a new post into Wordpress using sql?
I have a large database with thousands records. Every time a user post his
I have a view user control that can post form. This control can be
This is my first app with CI and I want to know whether $_POST
I know you should use POST whenever data will be modified on a public
You know if you were to post you website into a status or comment
I would like to know how to submit POST data for a form using

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.