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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:33:31+00:00 2026-05-14T21:33:31+00:00

I am making an iphone game , In that I want to upload score

  • 0

I am making an iphone game , In that I want to upload score on face book. I am new to face book codes, I’ve got it’s API from github.com. But I don’t know how to write or post directly my message on wall of face book of log in account else how to share my score on facebook. I’ve done log in portion.
Can any one help me????

  • 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-14T21:33:31+00:00Added an answer on May 14, 2026 at 9:33 pm

    Assuming the user has allready logged in and you have a vaild faceb0ok session, you could use something like this to get you started:

    - (void) post {
        postingDialog = [[[FBStreamDialog alloc] init] autorelease];
        postingDialog.delegate = self;
        postingDialog.userMessagePrompt = @"Prompt the User:";
    
        NSString *name = @"Name of thing"
        NSString *href = @"http://www.example.com"
    
        NSString *caption = @"This is a caption"
        NSString *description = @"This is a description";
        NSString *imageSource = @"http://example.com/1.png";
        NSString *imageHref = @"http://example.com/1.png";
    
        NSString *linkTitle = @"Link title";
        NSString *linkText = @"Text";
        NSString *linkHref = @"http://www.example.com/iphone";
        postingDialog.attachment = [NSString stringWithFormat:
                                    @"{ \"name\":\"%@\","
                                    "\"href\":\"%@\","
                                    "\"caption\":\"%@\",\"description\":\"%@\","
                                    "\"media\":[{\"type\":\"image\","
                                    "\"src\":\"%@\","
                                    "\"href\":\"%@\"}],"
                                    "\"properties\":{\"%@\":{\"text\":\"%@\",\"href\":\"%@\"}}}", name, href, caption, description, imageSource, imageHref, linkTitle, linkText, linkHref];
        [postingDialog show];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making an iPhone game where the main actor is a ball that rolls
I'm making a little game for iPhone that involves whistling. The phone hears the
I was reading that certain API's are not available when making iPhone apps with
I'm making an iPhone game that involves the use of GL_POINT to render a
I am making a simple game (using the book iPhone and iPad Game Development
I'm making a game that loads images from a spritesheet. When run on an
I am making an iPhone game that will be using Game Center to support
I am making a video game for iPhone and I want to hide the
I am new to Cocos2D. I am making a simple game for iPhone in
Currently I am making a game for iPhone, and want each level to be

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.