简体   繁体   English

代表我的应用(不是用户)在用户墙上发布

[英]Post on a users wall on behalf of my app (not the user)

For several years i have managed to sort things out without posting my own question, but by readings others instead. 几年来,我设法在不发布自己的问题的情况下解决问题,而是通过阅读其他问题。 However, after reading over 200 useless posts, i've decided it's time i get some help. 但是,在阅读了200多个无用的帖子之后,我决定是时候获得一些帮助了。

I'm building a facebook app, and what i wan't to do is extremelly simple to explain. 我正在构建一个Facebook应用程序,我不愿意做的事情非常简单。 I wan't to notify a certain user about some event in real-time. 我不会实时通知某些事件有关的特定用户。 For example, "the tv show you want to watch starts in an hour" . 例如, “您要观看的电视节目在一小时内开始” Unfortunately, facebook doesn't allow apps to send private messages to users (which was my first choice). 不幸的是,facebook不允许应用向用户发送私人消息(这是我的首选)。 The standard way of publishing on a users wall on HIS BEHALF is not good either, because no notification is triggered. 在HIS BEHALF上在用户墙上进行发布的标准方法也不好,因为没有触发通知。 Therefore, my idea is to post on his wall on behalf of the app (or any similar action that will trigger a notification). 因此,我的想法是代表该应用在他的墙上张贴(或任何会触发通知的类似操作)。

I know about app requests, but they are not what i'm looking for either, as you can see, they do not match what i want to do. 我知道有关应用程序请求的信息,但它们都不是我在寻找的内容,正如您所看到的,它们与我要执行的操作不匹配。

Also please note that the event may be particular for each user, so making a post or something for EVERYBODY to see is not an option ( "Peter, you have dinner with stacy in an hour" ). 还请注意,该事件可能对每个用户来说都是特定的,因此,张贴文章或让所有人看到的内容都是不可行的“ Peter,您在一小时内吃过晚饭” )。

Firstly, i want to know if posting on the apps behalf (or facebook page, or any other idea) is possible. 首先,我想知道是否可以代表应用程序(或Facebook页面,或其他任何想法)发布消息。

If it isn't, i would like to see any other ideas to sort this out. 如果不是,我希望看到其他任何想法来解决这个问题。 Remember, it's extremelly important to trigger the notification. 请记住,触发通知非常重要。

Thanks for your time reading this, but i have one last request. 感谢您阅读本文的时间,但我有最后一个要求。

Although what i want to do is pretty simple, there are plenty of similar issues being disscused, which may lead to confusion, so please be SURE that you fully understood what i am asking before answering. 尽管我想做的事情很简单,但是有很多类似的问题正在讨论中,这可能会导致混乱,因此请确保在回答之前您已完全理解我的要求。

Thanks again 再次感谢

What about opening an event and auto inviting the specific user to the event? 如何打开活动并自动邀请特定用户参加活动呢? Events invites trigger a notification and the only thing you need is the user's email address which you can easily get. 活动邀请会触发通知,您唯一需要的就是用户的电子邮件地址,您可以轻松获取它。

I am not 100% sure if an app posting on your wall initiates a notification*. 我不确定100%是否在您墙上张贴的应用会启动通知*。 Although posting to a users wall on behalf of an app is certainly possible. 尽管可以代表某个应用程序发布到用户墙上,但这确实是可能的。
You can follow the instructions on this link , under the "App Login" title, and with that retrieve the correct access token you need to make calls as your app. 您可以按照此链接中“应用程序登录”标题下的说明进行操作,并使用该链接检索正确的访问令牌,您需要作为应用程序进行通话。 In order to have the functionality you specified, you'll have to request the offline_access permission from your users - this will allow you to post to your users wall even when he/she is not currently in or using your app. 为了拥有您指定的功能,您必须向用户请求offline_access权限-这将使您可以将其发布到用户墙上,即使他/她当前不在或未使用您的应用程序也是如此。 (or even logged into facebook) (甚至登录到facebook)


* Usually these posts on behalf of an app are user initiated - ie the user pressed "post to my wall." *通常,这些帖子代表某个应用由用户发起-即用户按下“发布到我的墙上”。

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

相关问题 从服务器发布到我的页面墙,没有任何代表我的交互 - Post to my page wall from server with no interaction on my behalf 即使用户不在我的应用程序网页上,如何将其发布到用户的Facebook墙 - How to post to users' facebook wall even if they are not on my app web page 如何通过我的应用程序发布在用户的Twitter墙上? - how to post on the user's twitter wall via my app? 通过Facebook App在用户墙上发布帖子 - Publishing a post on users' wall by facebook app Facebook 应用程序 - 与多个用户一起发布到墙上 - Facebook app - Post to wall with multiple users 从我的应用发布的信息显示在页面的墙上,但是喜欢该页面的用户在新闻源中看不到 - Post from my app appears on the page's wall, but the users who liked that page can't see in their newsfeed 在用户的墙上自动发布(Facebook App) - Post automatically on the wall of user (facebook App) 如果在应用页面上发布了帖子,用户是否会在墙上看到帖子 - will users see post on their wall,if a post is made on app page 代表我的应用程序的用户发布 - published on behalf of the users of my application 用户非管理员使用时,我的Facebook标签应用无法将照片发布到页面的墙上 - My facebook tab app cannot post photo to page's wall when used by user NOT admin
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM