FB api comments notifications - facebook

I'm working on a classified ads site that works with FB sdk. To upload a classified ad, the user must give permission to the SDK application. After creating a classified ad, fb comments shown below it. What I need is that when someone makes a comment, he gets a notification to ad owner with a link to the site. This is possible?
I hope you can help me, some days ago I'm looking for a solution and I can not find it.

may be the real time updates may help here facebook real time api. Though i am not able to find the functionality as such.
You can come up with something of the sort.
At the end of the day or low load times you can traverse all the shared posts for new comments in that day. If there was a comment you can extract that and send that to admin of that ad on his email.

Related

Facebook Webhooks with pages - only want to get posts

I'm using Facebook Webhooks with a an app subscription to a page.
I've it linked to functions in Firebase, and so far everything is running really well. However, the one snag is that its recording every comment, like and update! With a really busy facebook page thats not ideal! All I want is the latest posts sent by admins and if those posts are updated or deleted to trigger also.
Any advice?
Here is my request:
Any help would be greatly appreciated.
Many Thanks

How does this Facebook app work?

I'm sure some of you have seen this viral Facebook post going around. How it works is you enter your birth year into the comments like #[1988:] and it will give you a name. I am stumped trying to figure out how they are able to change the users comment programmatically. The Facebook API doesn't really provide any documentation on how this is done and the thing I don't understand is how its able to work without any of the users permissions? Is this even an app or some Facebook easter egg? Any ideas?
They're not doing anything and this isn't API usage either; that's Facebook's standard method for tagging in plain text posts - #[4:] for example will show Mark ZUckerberg's profile pic - it also works in chat
It works with 'birth years' because the first few hundred user IDs are mostly in use, because when Facebook first launched it incremented new uids from 4 upwards.

facebook api which notifies the unfriend

I am working on some project that needs that when ever a friend of mine unfriends me from his list I gets notified so that I update the list of my friend list, one way of doing it is I can schedule a cron job and that will update my friend list once or twice in a day in my project, but that is not going to be real time, I searched the internet but did not finds any thing in fact may be I am struggling with some different keywords and may be that particular thing is termed differently, please shed some light since I am new in facebook api thing I am struggling with the internet false posts as well.
Thanks in advance
Ankur
As in #Igy's comment, what you are asking for is exactly what Facebook is highlighting as a "Prohibited Functionality":
Revealing Friend Removals
You must not include features or functionality that disregards or circumvents Facebook product
limitations. For example, you must not notify a user if someone
removes the user as a friend because Facebook does not publish this
information to users

Facebook Insight data not appearing for website

I have recently been looking into adding Facebook Insights into one of our client's websites (www.mcvuk.com). I've created an app to associate with this and added the necessary Facebook meta tags to my site which reference the app id.
I was, until today, having issues adding the app domain information to https://developers.facebook.com/apps but have added this information in today.
My question is how long does it take before you will start to see results filter through for the site and is there any way of checking that everything has been set up correctly?
It might not be a matter of time, it might be a matter of how many 'likes' the app or page has. At least for pages, it tells you "Once 30 people like your Page, you'll get access to insights about your activity."
That's an interesting point.
It all depends on which metrics (results) you're after and how much traffic your app gets.
Additionally, you might want to look at facebook documentation for the metrics (results) you're looking for -- some of them are available monthly or weekly, others are a lifetime aggregate, and some are daily.
The easiest way to test would be to ask some of your friends to do whatever it is you want to test (comment on a post, link to a page, etc.).
I hope that answers some of your questions.

Can I grab the picture of a person from facebook?

I'm trying to grab someones facebook picture from their page while just knowing their email address. I know that the service gravatar.com does this, but a lot of people don't have accounts there so I would like to grab the pictures from facebook. Is this possible? I didn't find anything about this in the developers part of facebook.
Programatically? You may not necessarily have the right to use others photographs. Facebook can because the users have agreed to their T&Cs and uploaded the pictures but I don't think you have any rights concerning the pictures without first contacting the owner.
just a quick look at facebook and i've found that when you are logged in to facebook you can search for users based on email address and that will bring back the avatar. i'd be surprised if neither the api nor the FQL supports this functionality since it seems pretty basic.
+1 evernoob on the legality part. altho it is available to you when you're logged in so i can't see why they'd specifically restrict you.
good luck and let us know the results.
N