Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Facebook OG] Publication d'histoire avec Open Graph

Featured Replies

Posté(e)

Hello Guys,
 
J'ai un problème avec les publications d'histoire sur Facebook.

FB.api(  'me/pricebreakit:demander',  'post',  {    product:{          app_id: Xxxxxxxxxxxxxxxxxxxxxxxx,          type: "product",          title: "Cafetière Nespresso",          image: "http://www.webdistrib.com/img/products.new/7/6/768608.jpg",          description: "Nespresso krups yy1202fd pixie rouge",          url: "http://www.mywebstite.com/#explore/........",        }  },  function(response) {    // handle the response    console.log(response);  }); 

J'ai configuré dans les paramètres de l'histoire sur Facebook pour le titre One to Ony : 

 

Pierre Aurèlea fait une demandeproduct.title on Pricebreak.it.

 

Ce qui devrait donc afficher avec la publication suivante: 

 

Pierre Aurèle a fait une demande Cafetière Nespresso on Pricebreak.it

 

Sauf que malheureusement non, il considère que le titre n'est pas défini et m'affiche donc une phrase par défault. Or le paramètre product.title est bel et bien défini dans mon code. Donc je ne vois pas du tout ce qui cloche...

 

Merci de votre aide. 

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.