Agregar una acción posterior a la compra después de un pedido

I'm attempting to add a 'Share your order with your friends' option to our retail based website, and am following the faq based here:

I have managed to manipulate the code as I think is correct, however in the FAQ answers the setup on the App is vague at best. When testing in dev (on localhost) I'm receiving the following error:

Código de error de la API: 191 Descripción del error de la API: La URL especificada no es propiedad de la aplicación Mensaje de error: redirect_uri no es propiedad de la aplicación.

In the basic settings of the app I have no idea what settings need entering around the auth domain, site url, canvas url etc - I'm new to the facebook dev side of things. As far as I can tell I shouldnt need a site URL, as am not using facebook login. Does the canvas URL need to be populated, and if so, does that mean I then need to create a new page for the content of this app?

El código que estoy ejecutando es:

    window.fbAsyncInit = function() {
    FB.init({appId: '1111111111111', status: true, cookie: true,
    xfbml: true});
    (function() {
    var e = document.createElement('script'); e.async = true;
    e.src = document.location.protocol +

                            function stream_publish(publish_text) {
                            var publish = {
                            method: 'stream.publish',
                            message: publish_text,
                            attachment: {
                            name: 'xxxxxxxx',
                            description: (
                            'xxxxxxxxx' ),
                            href: '',
                            media: [
                            type: 'image',
                            href: '',
                            src: '',
                            action_links: [
                            { text: 'Buy Now', href: '', }
                            user_prompt_message: 'Tell your friends'

Can anyone advise how this should be done and what I'm missing?

Muchas gracias


preguntado el 09 de marzo de 12 a las 13:03

1 Respuestas

From the error message, you don't have setup in your app settings.

respondido 09 mar '12, 16:03

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.