简体   繁体   English

检索所有 Facebook Opened Group 墙贴、PHP 代码

[英]Retrieve all Facebook Opened Group wall posts, PHP code

I want to show an opened Facebook Group wall post on my website (normal PHP website) like this Facebook Group Wall Posts:我想在我的网站(普通 PHP 网站)上显示一个打开的 Facebook 群组墙帖子,如下面的 Facebook 群组墙帖子:

图片

but I am just a member of the group.但我只是小组的一员。

Thank you in advance.先感谢您。

Step One: Visit The Facebook Developers Page.第一步:访问 Facebook 开发者页面。

Step Two: Choose Website as Your App's Platform.第二步:选择网站作为您的应用程序平台。

Step Three: Create App ID.第三步:创建应用ID。

Step Four: Retrieve Your Info!第四步:检索您的信息!

The Facebook SDK for PHP is an open source project hosted on Github.适用于 PHP 的 Facebook SDK 是一个托管在 Github 上的开源项目。 You can get the latest version of the SDK,您可以获得最新版本的SDK,

https://github.com/facebook/facebook-php-sdk-v4/ https://github.com/facebook/facebook-php-sdk-v4/

Here's the facebook login integration and auth:这是 facebook 登录集成和身份验证:

https://developers.facebook.com/docs/php/howto/example_facebook_login https://developers.facebook.com/docs/php/howto/example_facebook_login

Then follow this link to get the Group posts然后按照此链接获取群组帖子

https://developers.facebook.com/docs/graph-api/reference/v2.5/group/feed https://developers.facebook.com/docs/graph-api/reference/v2.5/group/feed

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM