One Star

Is it possible using talend to get public data from Facebook

Hi Friends,
I'm new to Talend.  My question is
Is it possible to get public data (personal feed, wall feed etc.) from Facebook and save data to file?
Please help me.
4 REPLIES
Four Stars

Re: Is it possible using talend to get public data from Facebook

Hi,
yes, facebook proivides API for accessing the data. You can call the API and the data is downloaded in the form of a .json file. This you can later convert it to excel or csv or put in database. Refer to graph API below
https://developers.facebook.com/docs/graph-api/using-graph-api/v2.1
Thanks
Vaibhav
One Star

Re: Is it possible using talend to get public data from Facebook

Hi,
yes, facebook proivides API for accessing the data. You can call the API and the data is downloaded in the form of a .json file. This you can later convert it to excel or csv or put in database. Refer to graph API below

Thanks
Vaibhav

Hi sanvaibhav
Which talend component I can use to connect to get data from Facebook?
Thank you  for your answer.
Four Stars

Re: Is it possible using talend to get public data from Facebook

You can use API URL inside tfilefetch component.
https://help.talend.com/search/all?query=tFileFetch&content-lang=en
Vaibhav
Employee

Re: Is it possible using talend to get public data from Facebook

I have written a Talend Job which interacts with Facebook and retrieves "music.listens" data. It is written using v5.5.1. It deals with OAuth and getting an Access Token (user interaction is required for this) and retrieving data in sets of 50 records. This means it loops through service calls until all of the data is retrieved. 
You should be able to extrapolate from what is in this example by referencing the Facebook developer information. 
This version will only work in the Studio as it makes use of a tMsgBox. This should be able to be changed if it needs to run on a system without a gui.
The tutorial can be found here: http://www.rilhia.com/node/29
Please let me know what you think.