Streaming facebook data into Hadoop HDFS - facebook

I want to analyse Social media data with Hadoop. I used flume to stream Twitter data into hadoop using custom source but for Facebook I didn't find anything for streaming though I can use API for downloading the FB data.
Is it possible using any other tool than flume? Can anyone suggest something?

There are no public streaming endpoints in the Graph API, unlike with Twitter. Theonly thing I imagine you could use are the Realtime Updates, but therefore you's either need a Facebook app or a facebook Page which you could subscribe to.

Related

Is there a way to send a conversion event to Facebook using their API?

I'm working on a SaaS service. There are certain events that happen on the backend which I'd like to use as conversions for Facebook Ads. I figured out there's a way to send a custom event using the Facebook js-pixel. I can't use JS for the events I'd like to track. Maybe it's possible to use something like a good old-fashioned cURL?
Thanks!
Yes, there is the
Offline Conversions API
With Facebook's Offline Conversions API you can send your offline conversion events using an offline event API. You can see how many of your customers viewed or clicked on Facebook ads before converting offline.
https://developers.facebook.com/docs/marketing-apis/offline-conversions/v2.8

Check if Facebook User is streaming live, then embed their live stream?

Is there a way through the facebook API to check if a user is live streaming?
Then if they are, get the embed code for their live stream so I can put it on my own website?
You can query /me/live_videos according to https://developers.facebook.com/docs/graph-api/reference/user/live_videos/

Collect facebook live stream public data

Is there any API for collecting facebook public data as live feed .I read about about public feed API for collecting data but I can't apply for that right now and also Its not free,Also the Open stream API but its outdated and not supported .Is there any other way to get facebook public data as live feed ?
https://developers.facebook.com/docs/public_feed/
Access to the Public Feed API is restricted to a limited set of media publishers and usage requires prior approval by Facebook. You cannot apply to use the API at this time.
Meaning, there is no way to do that, at least not for you. It does not matter if you use PHP, Node.js or any other server language.

How to pull Facebook comments and feeds to hadoop?

I am working on a case study where I have to get comments, activities etc. from my facebook page and aggregate them in Hadoop for textual analysis using map reduce.
What is the right way to pull Facebook fan page Feeds? Is there any API for it, which can be consumed by hadoop components like flume or scribe?
Yes, the JSON API is called Graph, I recommend you start with the tutorial

Programmatically reading wall posts / stream of facebook "pages"

My application is taking in various streams of data from social media / rss and combining it into one feed on the service that I will offer to businesses.
So, I'd like to read facebook page streams and process them.. do I need to get permission from the owner of the facebook page? Or is this publicly accessible somehow? since these are public pages for businesses and not the stream of private facebook users.
I don't care about WRITING to a stream at this point.. just READING.
If it is public you can read through graph API using:
https://graph.facebook.com/%page_id%/feed
But you need to be logged in, even with a user that does not manage that page.
Read the Facebook API documentation. I think the Graph API and Social plugins can be used for your purpose.