如何使用Facebook应用程序向用户写入通知 [英] How to use Facebook Application to write a notification to Users

查看:131
本文介绍了如何使用Facebook应用程序向用户写入通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Appengine和Gwt(Google产品)开发大学考试申请,我想通过以下方式实施Facebook:
- 让FB用户登录应用程序通过Facebook(这样实现了oAuth2.0流程,所以现在我有用户的访问令牌和他的权限)
- 因为应用程序是在教授发布一些材料的课程时被通知(这全部被处理通过appengine),当我的教授通过墙上的帖子或者我的应用程序的注释发布一些材料时,我想通知用户,它以一种向用户写入关于新发布的资料的方式。



我一直在浏览每一个在线资源,找不到答案:很多类似的问题,但没有答案。



编写POST并不是一个问题,目前我正在使用api图形浏览器。
我设法写在用户的墙上/笔记上,好像他在写自己,或者(如果用户喜欢应用程序)写所有的人都是墙上的帖子/注释(但是对所有人都是这样)。



但是,我没有找到一种方式来发送个性化的墙上贴子/笔记给每个用户,以回应一些具体的材料发布。
FB不允许这样做,因为被认为是垃圾邮件?

解决方案

它有帮助吗?
http://www.hiteshagrawal.com/java / publish-on-facebook-wall-using-java



我试图做同样的事情。我的webapp发生了一个事件,然后用户墙上的一个帖子是由我的应用程序...



我还没有尝试过这个解决方案。一旦你或我完成实现,我们来更新这个节点,对吧?


i'm developing an application for a university exam, using Appengine and Gwt (Google products) and i'd like to implement Facebook this way: - give the ability to a FB user to login to the application through facebook (did this implementing the oAuth2.0 flow, so now i have the user's access token and his permissions) - since the application is for being notified when a professor publishes some material for his course (this is all handled by appengine), i'd like to notify the user when a professor publishes some material, through a wall post or a note from my application in a way that it writes to the user something about the new published material.

I've been looking through EVERY single resource online, and couldn't find an answer: a lot of similar questions but no answers.

Writing the POST is not a problem, and for the moment i'm trying with the api graph explorer. I manage to write on the user's wall/note as if he's writing himself or (if the user likes the application) write all the likers a wall post/note (but the same to everyone).

But i don't find a way to send personalized wall posts/notes to every user in response to some specific material published. FB doesn't allow to do this because is considered spamming?

解决方案

Does it help you? http://www.hiteshagrawal.com/java/publish-on-facebook-wall-using-java

I'm trying to do the same thing. An event in my webapp occurs and then a post in the user's wall is made by my app...

I've no tried this solution yet. As soon as you or me finish implementing it, let's update this node, right?

这篇关于如何使用Facebook应用程序向用户写入通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆