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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:58:16+00:00 2026-05-23T13:58:16+00:00

First i create facebook object with my appId: facebook = [[Facebook alloc] initWithAppId:kAppId]; When

  • 0

First i create facebook object with my appId:

facebook = [[Facebook alloc] initWithAppId:kAppId];

When i call

[_facebook authorize:_permissions delegate:self] 

my safari opens up and after i enter my FB username and password, safari closes and everything returns to my app (like it should).
My permissions are:

_permissions =  [[NSArray arrayWithObjects:@"read_stream", @"publish_stream", @"offline_access",nil] retain];

The strange thing is that my delegate method – (void)fbDidLogin or -(void)fbDidNotLogin:(BOOL)cancelled is not called like in FB sample app that comes with SDK. In my .h file i implement protocols “FBRequestDelegate,
FBDialogDelegate, FBSessionDelegate” and in .m file i have the necessary methods.

If i try to make a post after that with

[_facebook requestWithGraphPath:@"me/feed" 
        andParams:[NSMutableDictionary dictionaryWithObject:@"test wall post" forKey:@"message"]
                  andHttpMethod:@"POST"
                    andDelegate:self];

i get error “req failed with error The operation couldn’t be completed. (facebookErrDomain error 10000.)”. This must be something related to authorization, but since i get no message after authorize call, i don’t know that to do.

Any ideas?

  • 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-23T13:58:16+00:00Added an answer on May 23, 2026 at 1:58 pm
    NSMutableDictionary *params = [NSMutableDictionary  dictionaryWithObjectsAndKeys:
                          @"My new status message", @"message",
                          nil];
    [_facebook requestWithGraphPath:@"/me/feed"
                      andParams:params
                      andHttpMethod:@"POST"
                andDelegate:self];
    

    or

    The error object returned has the details about what’s happening.
    I suggest to implement that method to get more infos:

    - (void)request:(FBRequest *)request didFailWithError:(NSError *)error {
        NSLog(@"%@", [error localizedDescription]);
        NSLog(@"Err details: %@", [error description]);
    };
    

    For example for my problem gived me that info, and I’ve fixed it:

    2011-05-27 11:19:57.313 Challengein[7704:207] The operation couldn’t be completed. (facebookErrDomain error 10000.)
    2011-05-27 11:19:57.314 Challengein[7704:207] Err details: Error Domain=facebookErrDomain Code=10000 "The operation couldn’t be completed. (facebookErrDomain error 10000.)" UserInfo=0x6878b90 {error=<CFBasicHash 0x6879be0 [0x141c400]>{type = mutable dict, count = 2,
    entries =>
        2 : <CFString 0x6877f70 [0x141c400]>{contents = "type"} = <CFString 0x686f9a0 [0x141c400]>{contents = "OAuthException"}
        3 : <CFString 0x686d610 [0x141c400]>{contents = "message"} = <CFString 0x686f970 [0x141c400]>{contents = "(#100) picture URL is not properly formatted"}
    }
    }
    

    please try this link
    http://www.capturetheconversation.com/technology/-facebook-oauth-2-0-and-the-graph-api-a-tutorial-part-2

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

Sidebar

Related Questions

I'm trying to create my first application for facebook using MVC, but can't decide
I am trying to create a Facebook iFrame app. The app should first show
I am trying to create a complex nested object like this: { user:{ type:facebook,
When upgrading MySQL, I first create a backup of the database. Then I will
I'm after a simple stored procedure to drop tables. Here's my first attempt: CREATE
Trying to create my first iPhone app that would play back audio. When I
I'm attempting to create my first real C# application - a small pet project
I'm attempting to create my first WCF service. I've created the service and now
I am trying to create my first custom Print Dialog in C#. I found
I'm trying to create my first data mart. I am creating my dimension table

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.