简体   繁体   English

是否有其他方法可以发布到用户的墙上并请求权限?

[英]Are there different ways to post to user's wall and ask for permissions?

I've been checking some app, which is configured and loaded as page tab. 我一直在检查一些应用程序,该应用程序已配置并作为页面选项卡加载。

This app ask for the corresponding permissions, publish_stream, etc. but the permissions dialog open as a lightbox, without leaving the app/page/tab. 该应用程序要求相应的权限,publish_stream等,但是权限对话框作为灯箱打开,而没有离开应用程序/页面/选项卡。 Look

寻求许可的不同方式

After giving permissions, I vote a picture and the app publishes into my wall as if I have written a comment into the post... " I've voted for ... blablabla " 授予权限后,我对图片进行投票,然后该应用程序就会发布到我的墙上,就好像我在帖子中写了评论一样……“ 我投票了……blablabla

张贴到墙上的另一种方法

  • Am I missing some parameter in the $facebook->api("$user/feed") api call? 我在$ facebook-> api(“ $ user / feed”)api调用中缺少某些参数吗?
  • Should I call another api function? 我应该调用另一个api函数吗?

Thanks 谢谢

I see this as 2 questions: 我认为这是2个问题:

1.) How to get a lightbox 2.) how to autopost a message or action 1.)如何获取灯箱2.)如何自动发布消息或操作

1.) The lightbox dialogs are something you can invoke with the js sdk -> FB.ui IF you have basic permissions. 1.)如果您具有基本权限,则可以使用js sdk-> FB.ui调用lightbox对话框。 The only exception i found was Facebook tab apps! 我发现的唯一例外是Facebook标签应用! :D :D

2.) What i can make of the screenshot is just a simple post to a users /[user]/feed on the graph, to achieve this when someone is offline : https://developers.facebook.com/roadmap/offline-access-removal/ ... actions are pretty much the same, except that you post to [user]/actions 2.)我可以对屏幕截图进行的操作只是向用户/ [user] / feed提供一个简单的帖子,以在有人离线时实现此目的: https : //developers.facebook.com/roadmap/offline- access-removal / ...操作几乎相同,除了您发布到[user] / actions

cheers 干杯

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

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