trying to add a FB Like button using their social plugin https://developers.facebook.com/docs/... and can't get any of them to work. The iFrame for example just shows webpage not available.
trying to add a FB Like button using their social plugin https://developers.facebook.com/docs/... and can't get any of them to work. The iFrame for example just shows webpage not available.
Hello!
It is not possible to run FB in a frame because of security reasons. You can use Facebook API http://devcenter.appery.io/documentat...
Then there is no way to like a FB page within the app? They tell you directly you have to use their social plugin for FB Lkes.
Per FB documentation.
"it is not possible to like a Facebook Page via any API"
Hi Brian,
Please follow this solution:
1 Navigate to https://developers.facebook.com/docs/...
2 Fill like button form. http://i.imgur.com/i5Jui8k.png/
3 Click "Get code" http://i.imgur.com/6DjqhdH.png
4 Then window will appear. Choose "Iframe" tab and copy code below. http://i.imgur.com/D8d8ByR.png
5 Open your page. And putt "HTML" component on it.
6 In HTML component properties set dimmensions with "auto" and "auto" value. http://i.imgur.com/Yqx65pS.png
7 Click "Edit HTML" for HTML component. And then use given in 4th step HTML code. http://i.imgur.com/2dRfF8z.png
That's all.. After you will get following result on your page: http://i.imgur.com/1QQCajX.png
Regards.
Hi Brian,
Please did you tried to pass all suggestion step by step?
Here is my page implementation: http://appery.io/app/view/93534752-d9...
Please try and let me know if you have the same issue on my app.
Regards.
Works in browser, yes. But I can't test that link in app form to see if it works.
Mine works fine in a browser as well. Just not on mobile devices like the Android screenshot above.
Hi Brian,
Yes you are right on device i have the same problem.
So there is some restriction from phonegap.
Please take a look on this solution: http://community.phonegap.com/nitobi/...
Regards.
That's to LINK to FB using the childBrowser and opening FB in the devices browser. This is not what I want. I just want the simple Like button inside the app and clicking it likes the FB page. Just like it does in the browser when testing.
Hi Brian,
Unfortunatly it's FaceBook service and it required to be logedin to use this functionality. To be logedin in FB in phonegap app you should use childBrowser.
Also here is no abiltity to make like through any api(FB limitations):
Details is here: https://developers.facebook.com/docs/...
http://prntscr.com/5757g0/direct
Regards.