baker icon indicating copy to clipboard operation
baker copied to clipboard

How to share content via Facebook in Baker?

Open kekko73 opened this issue 12 years ago • 4 comments
trafficstars

HI, I'm making a magazine and the client asked me to include the sharing facebook button into some pages. The button works but when I click on it a popup appears and it fill up all the ipad screen .. so I can't close this window to return into the app (I have to close the app and restart it). What can I do ? Is it possible to set the width and height of the sharing facebook window ?

kekko73 avatar Aug 08 '13 07:08 kekko73

which technique are you using?

Maxhodges avatar Nov 07 '13 08:11 Maxhodges

Hello, to share with facebook, the first stone load the images on an external server and then use this code for sharing

<a href="https://www.facebook.com/sharer.php?m2w&s=100&p[title]=app LAGO Bedroom&p[url]= http://www.lago.it/fileadmin/Foto_per_App/Fluttua_bed.png&p[images][0]=http://www.lago.it/fileadmin/Foto_per_App/Fluttua_bed.png&p[summary]=condivisoapp

kekko73 avatar Nov 07 '13 08:11 kekko73

how about trying the FEED method (javascript integration) https://developers.facebook.com/docs/reference/dialogs/feed/

Maxhodges avatar Nov 07 '13 08:11 Maxhodges

The JavaScript integration would surely be more effective, but I guess also more complex.

Did you try opening that link in the modal browser using the ?referrer=Baker syntax (details here)?

Given the URL above, might be something like:

https://www.facebook.com/sharer.php?m2w&s=100&p[title]=app%20LAGO%20Bedroom&p[url]=http://www.lago.it/fileadmin/Foto_per_App/Fluttua_bed.png&p[images][0]=http://www.lago.it/fileadmin/Foto_per_App/Fluttua_bed.png&p[summary]=condivisoapp&referrer=Baker

folletto avatar Nov 09 '13 19:11 folletto