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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:27:49+00:00 2026-06-10T00:27:49+00:00

maybe it is simple, but i do not know how to do it, so

  • 0

maybe it is simple, but i do not know how to do it, so i ask.
Sometimes i get an exception from facebook e.g. posting an action has failed. Normally it works but sometimes dont. I use the php sdk and when there is sth. wrong i get an facebook exception and the whole site stops running.

Is there a way i can ignore these exceptions and store it in database instead, so that the rest of the website works?

I think it is in the base_facebook.php, hopefully someone knows what line i must change.

Thank you very much

Ruven

  • 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-10T00:27:51+00:00Added an answer on June 10, 2026 at 12:27 am

    You don’t need to touch the Facebook SDK. You can catch the exceptions and do whatever you like with them (such as storing them in a database).

    Example:

    try {
        // Facebook code here
    } catch (Exception $e) {
        // Display the exception (or whatever else you like)
        echo $e->getType()." ".$e->getMessage();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Maybe the question sound not good or too simple. But not for me in
I'm not very good at regex but maybe there's a simple way to achieve
Maybe this is a simple problem, but I am just not seeing it :)
Maybe my question it's a little weird, but I'm trying to build a not-so-simple
Ok so this maybe a simple/silly question but I don't know so here goes:
I'd like to ask somthing that maybe is wrong, but I not sure. Is
Maybe im missing something but im not sure. All im simply trying to do
Maybe it is just a simple mistake but this thing is driving me crazy.
Very simple questions guys, but maybe I'm just forgetting something. In 64bit linux, a
This may be a simple fix and maybe I'm missing something obvious, but when

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.