Flume Streaming Data from Facebook - flume

Please let me know whether it is possible to get data from Facebook to HDFS using Flume or Not,
If yes can you please post the Configuration(Source) for flume.
Thanks

Some information about how to streaming data from Social Media (Facebook) are on
https://github.com/DataDanSandler

Related

Retrieve channel's info using youtube data API

I want to fetch Youtube channel information e.g. total number of subscribers, language, info tab etc. What's the endpoint to do so if I have only my API key and channel id.
Figured out the answer, following is the API call to fetch channel information.
https://www.googleapis.com/youtube/v3/channels?part=snippet,statistics&id=UCSJ4gkVC6NrvII8umztf0Ow&key=[API_KEY]
Google's API Doc
https://developers.google.com/apis-explorer/#search/youtube.channels.list/m/youtube/v3/youtube.channels.list
using of below link which i shared might be useful for your problem
https://developers.google.com/youtube/v3/docs/channels/list

Get data from garmin API

I have issue with get data from garmin API in rails.
I login sucessful but i don't get anything data from garmin.
What errors here? Anyone can help me?
You can go through the garmin api documentation provided by garmin when you registered your application. The all possible features for fetching the data will be listed in the documentation

Upload video stored on google cloud to Youtube

Is it possible to upload a video file which is stored on Google Cloud to YouTube pro-grammatically (without user intervention)? Preferably PHP.
I would like to run the application via a Cron job.
Can you point me to an example of how this is done?
Thanks in advance
You can use the YouTube Data API to upload videos to YouTube programmatically. Its documentation is at https://developers.google.com/youtube/v3/
I am not very familiar with it, but I don't think that it can read directly from Google Cloud Storage.

youtube cms performance report download api

We have a manual process to download the performance report from youtube cms application. This report is a csv or zip that is generated weekly and gives the "view" details for every video owned by the user at a daily level.
Is there an API to download this report ? I looked at the youtube analytics api and it looks like I have to get the data for each video individually. We have a lot of videos and this will be over the quota. Is there a way to get the weekly performance report through some api ?
The current YouTube Analytics API isn't well suited for performing bulk reporting for any significant volume of videos.
There's an open feature request that you can "Star" to be notified when there's an alternative approach available. I'm afraid that I don't have any timelines to share, but it's being actively worked on.
As Jeff pointed out before, you won't be able to download a performance report from Youtube CMS using Youtube Analytics API.
You can use mechanize module in python to log in to your youtube cms account and navigate to that download URL.
browser = mechanize.Browser()
browser.open('http://cms.youtube.com')
browser.select_form(nr = 0)
browser.form['Email'] = email
browser.form['Passwd'] = password
browser.submit()
browser.open(dashboard_url) //url that you get redirected to when you login
and then you can search for reports link. then click on that. then search for the report you want and download it.
more info here:
http://www.pythonforbeginners.com/cheatsheet/python-mechanize-cheat-sheet/
i was able to download reports that i want using this module in python.

How can i share a content on Google plus using OAuth 2.0

How can I share content on Google plus using OAuth 2.0?
I'm looking for the URI to do this action (Posting data on the wall), for example :
To get connected user info (https://www.googleapis.com/oauth2/v1/userinfo).
To search activities (https://www.googleapis.com/plus/v1/activities)
...
But to share content to Google's stream (wall) I can't find the URI.
Thank you for you help.
You cannot post content programmatically to user's streams on Google+. You can write app activities using the moments.insert method. On Google+ , user's always have control over what is shared to their stream.

Resources