通过API发布Facebook的照片没有显示在网页公开时间表

通过API发布Facebook的照片没有显示在网页公开时间表

本文介绍了通过API发布Facebook的照片没有显示在网页公开时间表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想我成功地用下面的VB.NET code张贴照片到我的网页的时间表:

I thought I'd succeeded in posting photos to my page's timeline with the following VB.NET code:

Dim params As Object = New With {
    .message = Message,
    .file = New Facebook.FacebookMediaObject() With {
        .ContentType = "image/jpeg",
        .FileName = Guid.NewGuid.ToString() & ".jpg"
    }.SetValue(photoBytes)
}

' This is the 'timeline' album for the page. get it at graph explorer at /page-id/albums
Dim result = fbClient.Post("/711668238866774/photos", params)

如果我查看该页面在页面管理员,我可以看到在时间轴上的照片。但是,如果我公开地查看该页面,照片是不可见的。

If I view the page as the page admin, I can see the photos in the timeline. However, if I view the page publicly, the photos are not visible.

如果我张贴照片使用Facebook的用户界面我的网页,可以看到公开

If I post a photo to my page using the Facebook UI, it can be seen publicly.

如果我用图形探险考察711668238866774 /照片,并与照片与Facebook的UI比较后发布的API的照片,我看不出有什么差别,会导致一个公开展示,另一个是隐藏的。

If I use the graph explorer to examine '711668238866774/photos', and compare photos posted with the API vs. photos post with the Facebook UI, I can see no difference that would cause one to show publicly and the other to be hidden.

我需要做其他任何事情,使这项工作?

Do I need to do anything else to make this work?

推荐答案

目前,最有可能的原因是,如果您忘记发表您的应用程序的内容不会是谁不是应用程序的管理员用户可见使应用程序的公共 - 通过发布一个应用程序的内容只能由人谁可以看到应用程序看到

By far the most likely reason that content posted by your app won't be visible to users who aren't admins of the app if is you've forgotten to make the app public - content posted by an app can only be seen by people who can see the app.

进入状态和放大器;审查的应用程序设置选项卡,然后在顶部检查触发值

Go to the Status & Review tab of the app settings and check the value of the toggle at the top

您将无法使其生活在没有隐私权政策的网址和联系电子邮件地址的应用程序的细节之中,但除此之外,你可以将其标记为公共

You won't be able to make it live without a privacy policy URL and contact email address being in the app details, but otherwise you can just mark it as public

这篇关于通过API发布Facebook的照片没有显示在网页公开时间表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 22:42