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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:55:31+00:00 2026-06-05T23:55:31+00:00

I’ve been reading about this on StackOverflow and facebook doc, yet I dont seem

  • 0

I’ve been reading about this on StackOverflow and facebook doc, yet I dont seem to be able to submit my action type.

I have the following code from the FB doc

<script type="text/javascript">
console.log("Function begins");
    function postForm()
      {
console.log(FB);
FB.api(
    '/me/concoursvelirium:form',
    'post',
    { recipe: 'http://concours.gestev.com/fbvel2012/form.php' },
    function(response) {
    console.log("Stay");
       if (!response || response.error) {
          console.log("error:  " + response);
       } else {
          console.log('Cook was successful! Action ID: ' + response.id);
       }
    });
   }
</script>

I have added my values from FB autogenerated values, it now looks like this:

<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# concoursvelirium: http://ogp.me/ns/fb/concoursvelirium#">

<meta property="fb:app_id" content="194081877384051" /> 
<meta property="og:type"   content="concoursvelirium:form" />
<meta property="og:title" content="Concours Vélirium" /> 
<meta property="og:image" content="http://www.velirium.com/++resource++snowjamboree.theme.images/velirium-avatar-128x128.png" /> 
<meta property="og:description" content="Concours Vidéotron au Vélirium" /> 
<meta property="og:url" content="http://concours.gestev.com/fbvel2012/form.php" />

And yet I see no output in the console past the console.log(FB);

I have no idea what I’m doing wrong. I’m also getting the Unsafe JavaScript attempt to access frame with URL error, but I have read here that I should just ignore it.

Ty, Axel

  • 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-05T23:55:33+00:00Added an answer on June 5, 2026 at 11:55 pm

    I finally found the issue, and it’s not that hard, provided you don’t read too much facebook’s doc. Even tough they give you a POST command and a JS code to validate your action, I wasn’t able to validate mine. Tough there’s an easier way to submit actions for approval:

    • Head to your app settings In the open graph section go to dashboard
    • Next to the action type you want to submit click the “get code”
      link(remember.. action type, not the object type “get code” button)
    • Copy the code inside the “Create a new Complete action:” box in a
      linux terminal If you got an output like: {“id”:”[YOUR-ID-NUMBER]”}
      congratulations, you can now submit your action!

    GL HF everyone

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
Does anyone know how can I replace this 2 symbol below from the string

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.