Phoca Facebook Comments Module - email

Phoca modules - support for all Phoca modules except Phoca Gallery modules
ferdiczech
Phoca Member
Phoca Member
Posts: 24
Joined: 03 Jan 2009, 01:52

Phoca Facebook Comments Module - email

Post by ferdiczech »

Hi,

is it possibble to set the FB modul when you add a comment, it would sent the email to me? Probably it needs to set it on http://www.facebook.com/developers/apps.php but I have not found how. Could you please help me?

Thank you for perfect modul!


David
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Facebook Comments Module - email

Post by Jan »

Hi, I have no experiences with this, will be great if someone has a solution, I am interested too in this (if there is such option)

Jan
If you find Phoca extensions useful, please support the project
ferdiczech
Phoca Member
Phoca Member
Posts: 24
Joined: 03 Jan 2009, 01:52

Re: Phoca Facebook Comments Module - email

Post by ferdiczech »

Ahoj,

je to škoda, že když mi někdo napíše k fotkám komentář nebo klikne "to se mi líbí", tak se to nedozvím. Takže nemůžu reagovat. Jedině náhodou, když projíždím svůj web, ale mám tam hodně fotek :(
To FB nemá ještě dořešené a zřejmě asi nebude mít, co?

It is to bad I am not able to know when anybody write a comment to me.

David
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Facebook Comments Module - email

Post by Jan »

Yes, this is a disadvantage of the Facebook comments, maybe the Facebook developers will do some improvement there? (if there is no one at the moment) :idea:
If you find Phoca extensions useful, please support the project
ferdiczech
Phoca Member
Phoca Member
Posts: 24
Joined: 03 Jan 2009, 01:52

Re: Phoca Facebook Comments Module - email

Post by ferdiczech »

Hi,

probably I have found answer on http://developers.facebook.com/docs/ref ... /comments/
There is writen: "How do I know when someone comments on my site? You can subscribe to the 'comment.create' and 'comment.remove' events through FB.Event.subscribe."
nad link http://developers.facebook.com/docs/ref ... subscribe/

:o But I have no idea what to do with:

Subscribe to a given event name, invoking your callback function whenever the event is fired.

For example, suppose you want to get notified whenever the session changes:

FB.Event.subscribe('auth.sessionChange', function(response) {
// do something with response.session
});

Global Events:

auth.login -- fired when the user logs in
auth.logout -- fired when the user logs out
auth.sessionChange -- fired when the session changes
auth.statusChange -- fired when the status changes
xfbml.render -- fired when a call to FB.XFBML.parse() completes
edge.create -- fired when the user likes something (fb:like)
edge.remove -- fired when the user unlikes something (fb:like)
comment.create -- fired when the user adds a comment (fb:comments)
comment.remove -- fired when the user removes a comment (fb:comments)
fb.log -- fired on log message

Have you any idea?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Facebook Comments Module - email

Post by Jan »

Hi, thank your for this info, but seems like the documentation is really not helpful for me, I have no experiences with it and from the documentation, I do know nothing :-( It is so much brief, maybe some expample or some explanation will be better. :idea:
If you find Phoca extensions useful, please support the project
Post Reply