Cloudkibo / KiboPush

0 stars 1 forks source link

Investigate Facebook Live and Messenger with it #9284

Open jekram opened 4 years ago

jekram commented 4 years ago

Investigate Facebook Live and Messenger with it.

Lots of people are using FB Live stream for Marketing. The question is during FB live if customers are chatting on messenger can we capture it.

jekram commented 4 years ago

https://blog.hubspot.com/marketing/facebook-live-guide

https://www.facebook.com/help/587160588142067

The key thing is to find out during LiveStream can the messenger be used?

We already have a comment capture - would comment capture would work?

ImranBinShoukat commented 4 years ago

I have looked into the Facebook API documentation and found out that there is an API that can be used to get comments of a live Facebook video.

https://developers.facebook.com/docs/graph-api/server-sent-events/endpoints/live-comments

In order to get comments we need two things:

  1. Page access token
  2. Live video id

We already storing the page access token in our database. We only need live video id. There are two ways we can get this:

  1. User provide us live video url of Facebook and we extract the id.
  2. We allow users to create live stream from our UI. That way we will receive the id from Facebook when user goes live. For this following endpoint will be used: https://developers.facebook.com/docs/live-video-api/guides/streaming

I would suggest we should implement the first option where we can extract the id from the url. The flow will be similar to comment capture.

Screenshot 2020-07-24 at 12 00 42 PM

@jekram @sojharo please review and provide your feedback

jekram commented 4 years ago

@ImranBinShoukat Thanks. I have read it. Let's review it on Monday in the status meeting.