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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:13:29+00:00 2026-06-14T20:13:29+00:00

What kind of elements does the NSArray * tags of FBOpenGraphAction expect? From the

  • 0

What kind of elements does the NSArray * tags of FBOpenGraphAction expect? From the Open Graph Explorer tool it seems like it just wants some facebook IDs as fodder. However when doing that

id<OpenGraphObject> event = (id<OpenGraphObject>)[FBGraphObject graphObject];
event.url = @"http://example.com/obj1234?fb:app_id=1111&og:type=myapp:share";
id<OpenGraphShareAction> action = (id<OpenGraphShareAction>)[FBGraphObject graphObject];
action.object = event
action.tags = [NSArray arrayWithObjects:[NSNumber numberWithInt:3300252], [NSNumber numberWithInt:585025503], nil];

and then posting with

[FBRequestConnection
    startForPostWithGraphPath:@"me/myapp:share"
    graphObject:action
    completionHandler: ...
 ];

However this will not work – [__NSCFNumber dataUsingEncoding:]: unrecognized selector sent to instance

  • 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-14T20:13:30+00:00Added an answer on June 14, 2026 at 8:13 pm

    It looks like it doesn’t expect an NSNumber, but an NSString. This would make perfect sense, given we’re talking about IDs.

    Try it out and let us know how it goes

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

Sidebar

Related Questions

I have two kind of elements <i rel=tooltip class='icon-ok'> <i title=Teste class='icon-info'> The first
Kind of a follow up to a question from yesterday. I have a hash
Kind of like this question I have many text snippets that I use many,
Kind of need help understanding what this code actually outputs. Does it out put
This is a bit complex. I've created an array (NSArray) called pointsOfInterest. The elements
does anyone know of a javascript/jQuery plugin that will fly elements onto and out
I have a bunch of elements like the following: <div class=droppableP id=s-NSW style=width:78px; height:63px;
Does anyone know of a class in Java that has a list of elements,
I've just discovered the fullCalendar jQuery plugin which does pretty much everything I need
HTML separates content from presentation (by using CSS for presentation and making HTML elements

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.