Show Facebook page timeline



My current goal is to show the timeline of a Facebook page within my app.
Logically, I would take the website-route and create a widget, implement it and done, but it doesn’t work that smooth.

Currently I have this code inside my facebook.html (edited a bit for privacy reasons):

<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); = id;
  js.src = "";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<ion-view view-title="Facebook">
    <div class="fb-page" data-href="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false" data-show-posts="true"><div class="fb-xfbml-parse-ignore"><blockquote cite=""><a href="">TEST</a></blockquote></div></div>

This should work but it doesn’t (It does in the browser, but it has to work on Android and iOS).
I’ve search all over the web but every tutorial/plugin has the intention to share and like from the app, which is not the case here.

How can I just show the content of a Facebook like page without sigining in via oauth or any other login-screen?


I have the same probelm as well. I can make it working on simulator but not on real device.

Not only facebook, but twitter as well (for twitter I cant even make it working on simulator).