开发者

Is there a way to load a facebook page inside my facebook application canvas page

开发者 https://www.devze.com 2023-03-21 10:15 出处:网络
Is there a way to load a facebook page inside my facebook application canvas page? I tried this using ifarame inside my application page with following code.

Is there a way to load a facebook page inside my facebook application canvas page?

I tried this using ifarame inside my application page with following code.

<iframe src="MY_FACEBOOK_PAGE_URL_HERE" width="100%" height="300">
  <p>Your browser does not support ifram开发者_StackOverflowes.</p>
</iframe>

But it doesn't allow me to load any facebook pages.

I just need to display an image of my profile + comment box including posed comments inside my canvas page.It should allow me to post comments for that image and display all previous posted comments.

Can anyone please help me with this?


I think facebook have a frame blocker script running that prevents this kind of thing. However, if you implement the graph api and a facebook application, you should be able to access your page posts using that and then display them. The graph api explorer lets you see what connections are available

http://developers.facebook.com/tools/explorer

Here's the api http://developers.facebook.com/docs/reference/api/

And here's an example of coca cola's repsonse

http://developers.facebook.com/tools/explorer/?method=GET&path=19292868552%2Fposts

There are also methods for publishing but users will need to authorize your app

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号