Can Facebook's fb:comments notify me when a new comment is posted? - facebook

I'm using fb:comments as described here.
Comments work fine but I can't find a way to be notified when a new comment is added. Is there a way to easily find new comments (without visiting my 3000 articles each time)?
I know FB did some changes to the way notifications work but I hope they left a way to do this.

I think you should able to do this by using the event subscription:
http://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe

I don't see a way right now. Maybe one day they'll add it to the real-time updates: http://developers.facebook.com/docs/api/realtime
I think for now you may be stuck polling for them with:
https://graph.facebook.com/POST_ID/comments
(for example)
https://graph.facebook.com/19292868552_118464504835613/comments?access_token=2227470867%7C2.FEEAvi5BbYBzdSQ5WM8otg__.3600.1288310400-100000309017680%7CeGASV-HXqF18-L0Y1x6_kVcjgxM

Related

Shall I mention the deep links in the sample invocation in the directory page?

I am making an action for google assistant.I have created some deep links so should I mention them in the sample invocations in the directory information? I also want the users to see the first welcome screen that is the default welcome intent and not directly jump to the other intents for the first time.I cannot decide what to do.Can someone please help me with this?
Showing them in your examples lets people know that the feature is possible.
If you really don't want to allow it when they first start - you can intercept the "deep link" at invocation time and send back a reply welcoming them first and explaining things, then either letting them do it or letting them do it in the future.

Django Custom Admin Popup

I need to resend an email to a user in case the user requests it, from the back-end.
I want to handle the logic in a separate template than the one I trigger the view from.
I figured using a Pop-up would be the best approach for this, but Django doesn't seem to provide any documentation on this.
I have checked out a few posts similar to what I am looking for like, http://www.hoboes.com/Mimsy/hacks/replicating-djangos-admin/ , but they are either too old or too different.
I would really appreciate a nudge in the right direction.
I rolled my own version using guidelines from this links, Open link in Popup Window with Javascript. I hope somebody else finds it helpful.

Facebook-Share-Button posts some information which I dont want to share

Using the FB-Share-Button posts a Message on FB which contains my Company-Name in the last line. Sadly I cant post the screenshot, because I havent enough reputations.
Is it possible to disable this? Or how can I hide this information?
Thank you for your support!
Martin
Apperently there is no way to hide the company-name. But there is a solution to change the information. It is taken from the html-meta-tag "author". So any changes in this tag have effect on the shown words.
Facebook caches this information for some circumstances, changes may not appear in time.
Martin

Can I limit the data elements received from the FB Comments Plugin?

I'm looking to add the Comments Plugin, but wish to keep the comments simple. I'd like to have just the user-photo and comment visible. Not the date of comment, reply, like, etc.
Please advise if this is possible and how one can restrict this.
Thanks very much...
Andy
This isn't possible any more. Previously, there were ways to override comment box CSS, but these were removed with version 2 of the plugin. So, you're stuck with what Facebook provides.
It's possible to post and retrieve comments using the Graph API, which would allow you to style them yourself - but it would require a fair amount of technical work.

How to Style Facebook Activity Feed

How do you implement custom css on a Facebook activity feed plugin? This related post does not fully answer the question. Is this the right way?
Where does the
<fb:tag name='link'></fb:tag>
go? Inside of of the
<fb:activity site="..." app_id="..." ></fb:activity>
outside of it, before or after? I'm sort of confused...
the only way i use activity feed is when its in a widget that will generically upate in all posts. Anyone who inserts these snippets into blog posts or other 'hard to find and edit later' posts and pages, will regret it
Why?
Because Facebook changes their script every month or so and the script snippet you inserted wont work anymore
I have hundreds of blank areas in blog posts where i inserted an activity feed and the script always stops working after some weeks when fb adds some code or changes the location of some script or renames a file and the old script has no canonical or generic way of readjusting.
There is no point in using a script which gets made obsolete every month and you then need to find all posts where you inserted the snippet and change it for the new working code.
Im always having to reinsert new code into my fb social widgets because they cease to function...
Not viable unless you take it into consideration. Only insert in spaces where oyu wil notice it when it stops working
As Facebook Answers answered, you cannot really style it with a custom CSS, nor via JS, as the activity feed widget creates an iframe.
The info from martincarlin87 is useful, but that is not exactly what you get with the Activity Plugin, which is what you meant I guess:
http://developers.facebook.com/docs/reference/plugins/activity/
For using this you cannot really interact with the Facebook API, it is a little world apart. By now... (July 12th 2012)
Facebook PHP SDK: https://github.com/facebook/php-sdk
Comes with some simple examples, I would suggest uploading it to your server and tinkering with it, Facebook has a steep learning curve but here at Stack Overflow there is even a Facebook section: facebook.stackoverflow.com so just take each step at a time and if you can't get it by reading the facebook docs: developers.facebook.com then you can always ask here and I'm sure someone will be able to help you.
Getting Started: http://developers.facebook.com/docs/reference/php/
Once you have made an app, you add it to your fan page and then you will be abel to test what information you can get using the Graph API Explorer: https://developers.facebook.com/tools/explorer
That post you refer to is a red herring I'm afraid. If you put any HTML between the activity tags it gets rendered BEFORE the iframe is added. So its a no starter, from what I can see. However, I eventually found a solution, which I gave on that thread. I am repeating it here in case somebody searching doesn't see the other thread.
I managed to customise an Activity plugin, after a great deal of effort.
You can see the result here:
http://www.quniverse.co.uk/shopdata/about_us.php
Feel free to post a comment on that site, it exists purely for test purposes so I'm not fussed what goes up there provided its clean.
I explain how I achieved this in the blog article posted here:
http://facebookanswers.co.uk/?p=302
To summarise briefly:
You cannot insert CSS into the activity plugin.
Rely on the fact it has a transparent background, and supply your own.
Turn off the header and supply your own.
You can specify a light or a dark font, a few fontfaces and a border colour.
If you read the blog article you will get a full explanation.