baker
baker copied to clipboard
How to share content via Facebook in Baker?
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 ?
which technique are you using?
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
how about trying the FEED method (javascript integration) https://developers.facebook.com/docs/reference/dialogs/feed/
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