0

I have a basic question regarding facebook pages and implementing them on an external website. I have a facebook page with several 1000 posts. Each post contains an image.

Now I want to implement some sort of collection on an external website where I list all those posts and of course showing the like/share/comment feature of each post, so the user can interact with each post on my website (if he is logged in to Facebook).

Additionally, I like to add more attributes to the posts such as "title" or "description" or a "tag" which should be connected to each post and be hosted on my site. In an ideal model, I would tell my application the page-post-ID of a post and add several more attributes to it. The app would then visit my facebook page, posts the post-ID via the FB API and loads it via GET on my website. I know that this would mean some work, adding each post ID into the database and having a few hundreds of posts already.

I have not seen this yet in the facebook API but maybe it is possible quite easily.

I am using rails to implement this project. So if you have any tipps or feedback how and where I can get started with this idea, please let me know.

4

1 回答 1

1

从使用Facebook Graph API gem开始,使用 OAuth 授权用户。然后使用当前用户的“提要”字段,其中包含提要帖子。

以下是发布消息的文档和示例。使用您的页面 ID 而不是 PROFILE_ID 发布到页面。

于 2013-07-30T15:26:05.300 回答