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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:55:30+00:00 2026-05-25T01:55:30+00:00

this is my first post at stackoverflow. I am using the Facebook Graph Batch

  • 0

this is my first post at stackoverflow.

I am using the Facebook Graph Batch API to request the Feed-Updates from several users at once.
But I really don’t know how the appropriate error handling is done. Following example should demonstrate my problem:

Batch request:

user1 - valid access_token
user2 - invalid (password change maybe?)
user3 - valid access_otken

The answer from Facebook could look like this:

successful answer
unsuccessful answer (OAuth Exception)
successful answer

But reading the docs, it seems like that the ordering of the answer is not guaranteed. So my question is, how do I connect the answers with their specific partial requests from the batch request?

Handling the OAuth exception is quite hard when you don’t get the information to which request this exception belongs.

Any thoughts?

  • 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-25T01:55:31+00:00Added an answer on May 25, 2026 at 1:55 am

    I’m not familiar with the PHP SDK, but on the Javascript SDK batching actually simulates the various calls themselves and returns an array of responses with header and body and such-like set.

    You can then iterate through that looking for errors and responses.

    I assume that the PHP SDK will use similar semantics.

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

Sidebar

Related Questions

This is my first post here and I wanted to get some input from
This is my first post on stackoverflow, I hope one of many! My question
This is my first post to stackoverflow, so bear with me. :) I am
This is my first post on StackOverflow. This community has provided me with some
Hey everyone, this is my first post up on StackOverflow! WOO! Anyhow, onto my
This is my first post on StackOverflow, so please bear with me. And I
Wow, my first Stackoverflow post, I've been watching this site for ages .. anyway,
My name is Juan I'm from Spain and this is my first post. Thank
This is my first post here on Stackoverflow, though over the years I've been
This is my first post and I'm quite a novice on C++ and compiling

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.