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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:20:52+00:00 2026-06-06T00:20:52+00:00

I got exception when I try to publish action to facebook. Exception : {error:{message:(#3502)

  • 0

I got exception when I try to publish action to facebook.

Exception :
{"error":{"message":"(#3502) Object at URL localhost/XXX has og:type of 'website'. The property 'myobject' requires an object of og:type 'mynamespace:myobject'. ","type":"OAuthException","code":3502}} 


FB.api(
            '/me/mynamespace:myaction',
            'post',
            { myobject: url,
                access_token: accessToken
            },
            function (response) {
                if (!response || response.error) {
                    Alert(JSON.stringify(response));
                }
            });

My Url Generated from a model from backend:
My Url : http://localhost/post/og/

public ActionResult og(int id)
        {
            return View(new OGModel(id));
        }

View :

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"
      xmlns:fb="https://www.facebook.com/2008/fbml">
    <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# @Model.NameSpace: http://ogp.me/ns/fb/@Model.NameSpace#">
        <title>@Model.Title</title>
        <meta property="fb:app_id" content="@Model.AppId" /> 
        <meta property="og:type" content="@Model.NameSpace:myobject" /> 
        <meta property="og:url" content="@Model.SharingLink">
        <meta property="og:title" content="@Model.Title" /> 
        <meta property="og:image" content="@Model.Image" /> 
    </head>
    <body>
        <div>

        </div>
    </body>
</html>

Any idea?

  • 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-06T00:20:53+00:00Added an answer on June 6, 2026 at 12:20 am

    You can’t post OG actions where the object URLs are on localhost because Facebook’s crawler won’t be able to reach them and read the meta tags.
    The URL of all your objects needs to be accessible from the internet; specifically by Facebook’s crawler.

    You can check what, if anything, Facebook detects on your URL by using Facebook’s Debug Tool

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

Sidebar

Related Questions

I got the following exception when i try to post a message on a
I got this error Unhandled exception at 0x0049b946 in Program.exe: 0xC0000005: Access violation reading
I have got the following exception when try to select data from SQL Server
Hey Hi Friends I got exception in my method... please help me error like
i try to run a winaap on mac with mono.but i got this exception.
i try to run my app, but i have got an exception thrown, in
ive got this exception. My Object looks like this: @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) public class ObjectDTO
I've got exception about convert NULL to Int32. I've got a table from database
I am using following datatype in my database . but I got exception as
I got this exception ... EntityCategoryProxy could not be converted to int in ...

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.