Created 07-04-2016 06:18 AM
How to get facebook data and store into my HDFS
Thanks in advance
Created on 03-01-2017 02:00 PM - last edited on 10-13-2019 06:39 AM by ask_bill_brooks
I wrote this for basic facebook ingest
Created 07-04-2016 07:36 AM
I'd suggest you to read the following posts:
I'd try something like:
https://graph.facebook.com/search?q=%23YOU-HASH-VALUE&limit=10000&access_token=YOUR-ACCESS-TOKEN
Hope this helps.
Created 07-05-2016 10:28 AM
Thanks @Pierre Villard
I got some data but still having doubts
My problem is how can i received as multiple json files and my access token is expired in specific time is thr any options to extend dynamically....please show me with properties screen shot
Thank you...
Created 07-05-2016 11:05 AM
To update the name of the file, you can use an UpdateAttribute processor and set the attribute 'filename' with the name of your choice using expression language [1]. If you want a name based on current time, you can use date functions, otherwise you can use the function UUID to generate a unique filename for each flow file.
That would be a property filename with ${UUID()}
[1] https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html
Hope this helps.
Created 08-03-2016 10:08 PM
This post is similar to your use case and shows how to rename the file for repeated ingests as @Pierre Villard describes
Created 07-11-2016 07:43 AM
Created 07-22-2016 08:21 PM
Did you ever run into problems in terms of API permission? I am trying to do something similar, searching for a specific word in public posts and fetch them using NiFi and pushing it to HDFS but I am having trouble doing so.
Could you share a template with me if you get any further in this process?
Thanks
Created on 03-01-2017 02:00 PM - last edited on 10-13-2019 06:39 AM by ask_bill_brooks
I wrote this for basic facebook ingest
Created 10-12-2019 05:05 PM
The link is no longer valid. Could you please update?
Thanks in advance.
Created 10-13-2019 06:44 AM
@Mostafa01 The link in Tim's reply above has been updated and should correctly resolve now.