检索 Facebook 时间线封面照片

发布于 2025-01-02 23:22:54 字数 256 浏览 0 评论 0原文

这个问题已经出现过几次了。我想通过图形 API 检索 Facebook 时间线的封面照片。

我看到到处都提到的答案是不可能。然而,我发现了一个网站 http://www.timelinemoviemaker.com/ 它确实检索了您的封面照片时间线。该网站是否获得了访问封面照片的特殊许可?或者他们是否使用其他方法来检索封面照片。请告诉我。提前致谢。

This question has popped up a few times already. I want to retrieve the cover photo of the facebook timeline via the graph api.

The answer that I have seen mentioned everywhere is that it is not possible. However I came across a site http://www.timelinemoviemaker.com/ which does indeed retrieve your cover photo of the timeline. Is there any special permission granted to the site to access the cover photo? Or have they used some other method to retrieve the cover photo. Please let me know. Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

南街九尾狐 2025-01-09 23:22:55

现在您可以通过 api 访问封面图片了。

https://graph.facebook.com/19292868552?fields=cover

Now you can access to the cover picture with the api.

https://graph.facebook.com/19292868552?fields=cover

醉梦枕江山 2025-01-09 23:22:55

检索名为“封面照片”的相册。时间线封面位于位置 1
访问 通过 PHP SDK 获取 Facebook 的封面照片用于检索专辑封面的 Graph API

Retrieve the album called "Cover Photos". The timeline cover is at position 1
Visit Getting Facebooks' Cover Photo via PHP SDK & Graph API to retrieve album covers

以歌曲疗慰 2025-01-09 23:22:55

您可以使用 http get response GET/V2.5/me?fields=cover 从 api 访问封面图片,

GraphRequest request = GraphRequest.newMeRequest(
  accessToken,
  new GraphRequest.GraphJSONObjectCallback() {
    @Override
    public void onCompleted(JSONObject object, GraphResponse response) {
      // Insert your code here
    }
});

Bundle parameters = new Bundle();
parameters.putString("fields", "cover");
request.setParameters(parameters);
request.executeAsync();

但请注意,您应该在 facebook 中生成并注册应用程序的访问令牌

you can access the cover pic from the api using http get response GET/V2.5/me?fields=cover

GraphRequest request = GraphRequest.newMeRequest(
  accessToken,
  new GraphRequest.GraphJSONObjectCallback() {
    @Override
    public void onCompleted(JSONObject object, GraphResponse response) {
      // Insert your code here
    }
});

Bundle parameters = new Bundle();
parameters.putString("fields", "cover");
request.setParameters(parameters);
request.executeAsync();

but note that u should have the access token generated and registered app in facebook

木有鱼丸 2025-01-09 23:22:55

从 Facebook 检索封面照片的最简单方法是右键单击图像,从弹出菜单中选择复制图像,然后打开画图(或用于查看照片的任何程序),然后按 CTL+V粘贴。

The easiest way to retrieve your cover photo from Facebook is to right click on the image, select copy image from the pop-up menu, then open up paint, (or whatever program you use for viewing your photos)and then CTL+V for paste.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文