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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:41:46+00:00 2026-06-06T13:41:46+00:00

I am using the FB API and intergrating FB so that i caqn post

  • 0

I am using the FB API and intergrating FB so that i caqn post on the users walls when they accept it,

i have this code sao far from the fb site its working all ok but the users are allowed to enter there own message on the post box.

- (void)fbDidLogin {
    NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
    [defaults setObject:[facebook accessToken] forKey:@"FBAccessTokenKey"];
    [defaults setObject:[facebook expirationDate] forKey:@"FBExpirationDateKey"];
    [defaults synchronize];

    NSArray *permissions = [[NSArray alloc] initWithObjects:
                            @"user_likes", 
                            @"read_stream",
                            nil];
    [facebook authorize:permissions];
    [permissions release];

        [facebook dialog:@"feed" andDelegate:self];

}

I was wondering if i could have a preset message to appear in the box somthing like the code below.

[NSString stringWithFormat:@" My New High Score i%",highscore]

and locked so that they can not edit it.

  • 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-06T13:41:47+00:00Added an answer on June 6, 2026 at 1:41 pm

    I found out by using this it posts everything i need and allows the user to add there comment plus they cant edit there high score which is what i was looking for.

    - (void)postwall
    {
        NSString *string = @"I reached a score of ";
        string = [string stringByAppendingString:[NSString stringWithFormat:@"%d", highscore]];
        string = [string stringByAppendingString:@" can you beat me?"];
    
        NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                       //kAppId, @"app_id",
                                       @"https://developers.facebook.com/docs/reference/dialogs/", @"link",
                                       @"http://fbrell.com/f8.jpg", @"picture",
                                       @"Watch Ma Balls", @"name",
                                       @"How long can you keep out of the way of ma balls for", @"caption",
                                       string, @"description",
                                       nil];
    
    
        [facebook dialog:@"feed" andParams:params andDelegate:self];
    } 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been using an API to do some work. This is how I
I'm trying to send post using API feed. I set fields: message , link
When using PHP API posts ' likes comes in this detailed format [likes] =>
I have a web application that is integrating with Twitter's OAuth API. I registered
I want to add user authentication to my restful api that I have created
I am using bing map in my web application using api-reference7 i i have
I'm writing applications that interoperate with a third-party application. This application exposes an API
I want to read an xlsx file using api XSSF. For that I downloaded
I tried using facebook API but once i tried integrating it. I noticed that
I am integrating twitter in iphone by using twitter+auth API, in this API what

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.