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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:56:29+00:00 2026-06-18T11:56:29+00:00

I am trying to make some batch operations for custom objects that I have

  • 0

I am trying to make some batch operations for custom objects that I have created oat Open graph API. I have seen tons of examples for feeds or images, but I still do not know if Facebook supports batch operations for custom objects. For example, I’d like to know if a batch operation for the following objects would work:

batch=[
{:method=>"post", :relative_url=>"/me/tfgtopquiz:win", "profile"=>"users/1/victories"} 
{:method=>"post", :relative_url=>"/me/tfgtopquiz:guessed", "triviaquestion"=>"questions/1"} ]

Notice that I have custom types (triviaquestion). It seems that if I pass it as a parameter facebook ignores it, and I would need this information. After the request, I get this error message:

“The action you’re trying to publish is invalid because it does not specify any reference objects. At least one of the following properties must be specified: triviaquestion.”

I really tried to define the type “triviaquestion”, but it looks like Facebook ignored it iside batch JSON.

Any thoughts?

Thanks!

  • 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-18T11:56:30+00:00Added an answer on June 18, 2026 at 11:56 am

    After some time I realized that I should send the JSON in other format:

    {:access_token=>"MY_ACCESS_TOKEN", 
    :requests=>
    [{:action=>"guessed", :object_type=>"triviaquestion", :object_url=>"URL"},
    {:action=>"guessed", :object_type=>"triviaquestion", :object_url=>"URL"},
    {:action=>"guessed", :object_type=>"triviaquestion", :object_url=>"URL"},
    {:action=>"play", :object_type=>"correct_answer", :object_url=>"URL"}]}
    

    Thanks!

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

Sidebar

Related Questions

I am trying to make some custom art for my app that will be
I'm trying to make some input fields that I would like to work like
I'm trying to make some utils for using with sqlite databases. For that I
I'm currently trying to make some small shell-like utility for a custom script I
I am trying to make a script (batch in windows) that download 5 text
I'm trying to make a batch file that makes a backup of the USB
I'm trying to make some decoration outside the main content div, that would be
I'm trying to make some Javascript that shows/hides rows in a data table based
Right now I'm trying make some browser based game. But I have little questions.
I am trying to make some modifications to our build processes which ensure that

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.