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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T19:33:20+00:00 2026-05-30T19:33:20+00:00

I am using the PHP SDK to post to the logged in users timeline

  • 0

I am using the PHP SDK to post to the logged in users timeline using the facebook::api method. I am pretty sure I had it working in the past but now it seems to fail and return the following error:

OAuthException: (#3502) Object at URL http://example.com/ has og:type
of ‘website’. The property ‘event’ requires an object of og:type
‘example:event’.

I have placed the URL into the Facebook debugger tool adn this returns fine. I have also used the Graph API explorer to test the POST request as well and this works. The only place it doesnt is from my PHP script.

I know I am not the only one who is experiencing this but it seems that everyone else is using the Javascript SDK so the solution is not relevant to me.

I have also tried setting scrape=true in my request but this makes no difference.

The code I am using is:

try{
    // Post the reply to the Facebook users wall
    $this->facebook_get_attendance['action_id'] = $this->facebook->api(
        "/me/example:reply?event=".urlencode("http://www.example.com/facebook-event/$this->area_rel/$this->facebook_event_reply_id")."&scrape=true&access_token={$this->facebook_user_details['access_token']}",
        "POST"
    );
    $this->facebook_get_attendance['action_id'] = $this->facebook_get_attendance['action_id']['id'];
}catch(FacebookApiException $e){
    error_log($e);
    $this->facebook_get_attendance['action_id'] = NULL;
}

Any ideas why this is happening?

The URL that is being passed is:

/me/example:reply?event=http%3A%2F%2Fwww.example.com%2Ffacebook-event%2Fbath%2F612&access_token=ACCESS_TOKEN
  • 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-30T19:33:21+00:00Added an answer on May 30, 2026 at 7:33 pm

    I have reported this as a bug with Facebook and it is currently in the ‘triaged’ stage. If and when I have any updates, I will post them here.

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

Sidebar

Related Questions

I'm trying to do the following using FB's official PHP SDK: $facebook->api( '/me/feed', 'POST',
I'm using the Facebook php-sdk to get the users name and friends, right now
Trying to post a status update using facebook php sdk. Code posted below. As
Background: Using Facebook PHP SDK v 2.1.2 cookieSupport = true App on Facebook has
Working with the Facebook php SDK's, I am having a lot of trouble figuring
I am new to facebook development. I am using PHP-FBML with Graph API. Edited:
I am using a modified version php-sdk version 3.0.0 sample code at github.com/facebook within
Using the Facebook PHP SDK, what steps do I need to take to allow
I'm trying to use the Graph API and the PHP SDK for Facebook to
I am developing a facebook application using php-sdk. i want to take some extended

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.