Page 1 of 1

Facebook embedded-posts in Appery not showing

Posted: Thu Nov 20, 2014 1:43 pm
by testingappery

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!


Facebook embedded-posts in Appery not showing

Posted: Thu Nov 20, 2014 7:05 pm
by Maryna Brodina

Hello!

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


Facebook embedded-posts in Appery not showing

Posted: Thu Nov 20, 2014 9:43 pm
by testingappery

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!


Facebook embedded-posts in Appery not showing

Posted: Fri Nov 21, 2014 1:22 am
by Yurii Orishchuk

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.


Facebook embedded-posts in Appery not showing

Posted: Tue Nov 25, 2014 4:05 am
by testingappery

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


Facebook embedded-posts in Appery not showing

Posted: Tue Nov 25, 2014 4:07 am
by testingappery

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


Facebook embedded-posts in Appery not showing

Posted: Sat Mar 28, 2015 8:53 pm
by simon saunders

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