testingappery
Posts: 0
Joined: Fri Oct 03, 2014 12:04 am

Facebook embedded-posts in Appery not showing

Hello All,
Here is my question.
I created a facebook app for using embedded posts in my Appery app.
I created a new page in Appery and I used the html component.
In the component I added the following code:

code

<div class="fb-post" data-href="https:&#47;&#47;www&#46;facebook&#46;com/xxxxxxxx/photos/a&#46;xxxxxxx/xxxasqx/?type=1" data-width="150"><>

/code

The app works perfect in a computer borwser and also from the phone's browser, but when I export the .apk The page shows nothing.
What could be the problem?
Thanks in advance!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Facebook embedded-posts in Appery not showing

Hello!

Please check here how to add Facebook to app http://devcenter.appery.io/tutorials/...

testingappery
Posts: 0
Joined: Fri Oct 03, 2014 12:04 am

Facebook embedded-posts in Appery not showing

Hello Maryna,
Thanks for the answer.
I already tried it with no luck.
I think there's some kind of problem with the external html insertion when I export the .apk because it works ok when I try the app in mobile and desktop browsers.
Do you have any clue ?
Thanks!

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Facebook embedded-posts in Appery not showing

Hello,

I've faced up with analogical problems(facebook in phonegap).

This happens when facebook needs authorization to display some content(for example facebook buttons).

In common way it solves with open this content in inappbrowser. See details here: http://devcenter.appery.io/tutorials/...

Regards.

testingappery
Posts: 0
Joined: Fri Oct 03, 2014 12:04 am

Facebook embedded-posts in Appery not showing

Thanks for the answers, I added a js action on click using _self as the target and now it works!
:)

testingappery
Posts: 0
Joined: Fri Oct 03, 2014 12:04 am

Facebook embedded-posts in Appery not showing

window.open('yourapperyURLwithoutframeurl.html', '_self');

simon saunders
Posts: 0
Joined: Tue Jun 24, 2014 2:14 pm

Facebook embedded-posts in Appery not showing

hi, i am trying to do the same thing. can you post an image of what this looks like please?

Return to “Issues”