php 获取 Facebook 用户的收件箱消息

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11170189/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-24 23:54:03  来源:igfitidea点击:

Get a Facebook user's inbox messages

phpfacebook-graph-apifacebook-php-sdk

提问by G10DRA

I'm creating a Facebook application for listing all the user inbox messages using the Facebook PHP SDK.

我正在创建一个 Facebook 应用程序,用于使用 Facebook PHP SDK 列出所有用户收件箱消息。

I used this code to get all the user's photos.

我使用此代码来获取所有用户的照片。

<?php
$facebook->api('/me/albums');
?>

How can I get all the user's inbox messages?

如何获取所有用户的收件箱消息?