So I have an iFrame
app on a fan page, which includes the comments plugin. Is there a way I/any admin can receive a notification or email every time someone adds a comment?
相关问题
- facebook error invalid key hash for some devices
- how to get selected text from iframe with javascri
- LoginActivty with Firebase & Facebook authenticati
- facebook “could not retrieve data from URL”
- How do you scroll an iframe from within using jque
相关文章
- iframe的里内容看不到,但却点得到
- Facebook login for group members
- The method FB.api will stop working when called fr
- iframe content disappears on Firefox
- Changing an IFrames InnerHtml from codebehind
- React native deep linking vs Facebook SDK conflct
- UIActivity with no settings for Facebook
- Scrolling issues with ExtJS 5 app inside IFrame
You can subscribe to
comment.create
event and send the notification to admin in any way you prefer, once comment is created. Facebook itself doesn't provide such functionality.This may looks like this (I assume Facebook JavaScript SDK is already loaded on page before doing this, read about it in documentation on Loading, anyway if you're using Social Comments Plugin it should be loaded already):
In your script located at
http(s?)://hostnamne/path/to/script
you can send a notification to admin, how to do it may vary on way you want it for example if you want to send an email you can use something like this php sample (aging this is just a flow sample, not real code you should use):If you need to track the deletion of comments too you can use
comment.remove
event with similar flow...