I have a service that reads Facebook Live comments once every 30 seconds and the vast majority of the time it works great. One user just had an issue where during a Live stream the comments were reading fine but then mid-way through the video Facebook was sending back an empty data set for video comments (even though people were still commenting). For 30 minutes Facebook was not sending comments back. Then all of a sudden Facebook returned back all of the comments in batch sizes of 25 each subsequent call. After the service caught up all on the comments Facebook continued returning comments for the rest of the video's life cycle.
I checked rate limiting and the page and app are both well under the rate limits. Facebook did not report being down for any time from what I could see yesterday. Has anyone else experienced this behavior before? If so, is this a Facebook issue or is there something I can do to prevent this from happening again?
Related
I am using Facebook Live inside of a web app to live stream videos. I am wondering if it is possible to include the live commenting associated with the video on my site in real time. I know I can grab the comments from the graph API, however this is not real time. The comment embed widget is also not real time and would need to be constantly refreshed.
The documentation says :
"You can read live video comments by polling the Live Video
Comments
edge."
What is polling? How do I do this and is it possible from a front end web app.
Basically my question is how do I include the live comments along with Facebook Live video on my own website.
This is now available via SSE streams
https://developers.facebook.com/docs/graph-api/server-sent-events/endpoints/live-comments
I know I can grab the comments from the graph API, however this is not real time.
This is as real time as it can get. If someone posts a comment and you immediately query the Graph API, you will see their comment.
What is polling?
As there is currently no streaming data endpoint for comments, you must query the comments on the live video repeatedly. That is, every 2 seconds or so, refresh the data.
This is done by making a Graph API GET request for /{video-id}/comments. I also suggest setting "order": "reverse_chronological" in the parameters so that you get the newest comments first.
You can see some sample code for doing this as part of the Live Comments Teleprompter: https://github.com/fbsamples/live-comments-teleprompter/blob/master/js/main.js#L89-L103
We are having a lot of success pushing video onto Facebook and driving video views and engagement. But I am having trouble finding anything about how to retrieve this info either through the Insights tools or via the API.
There is this post from back in May of last year that points to video metrics, but I can't find it live anywhere.
Facebook finally launched this feature a couple weeks ago. The url for this is
https://www.facebook.com/[your-page-name]/insights?section=navVideos
I am facing strange problem, I have created two facebook apps, one about 2-3 months back and one recently 4-5 days back.
The strange problem is when I try to use graph api feed method to post to one of my pages from my old app (or default graph api of facebook) it works fine and post message to my page wall, but when I try the same with my new app it gives this error
An unexpected error has occurred. Please retry your request later.
I searched for it and found that this error comes sometimes and goes away automatically, so I waited but it is keep on coming while old app is still working on the same time.
I am using the same set of permission on both the apps
Any idea?
I have a web site that gets quite a bit of traffic from Facebook. I've never had any problems sharing links to it on my Facebook page, but starting this afternoon, whenever I post a link to my web site from my facebook page, the post disappears from all users' feeds after 2-3 hours. This has happened 3 times now and I can't understand why. At first I thought it was my page itself, but it seems to be my domain because when I share from a different page (the same domain), it also disappears.
It worked fine this morning but not now. What is going on? Is this a glitch or is it some kind of system FB has in place now? This is really hurting traffic and clicks out from FB to my site.
Thank you.
Edit: looking back, it seems this may have started happening around Tuesday. Is there some kind of system in place now to limit the amount of clicks out you can get from a post? I can't see any other reason it's happening...
There are several possible causes:
Links that you use is a dynamic link which at times can be changed, use the static link. Example your link like this: http://www.domain.com/page.php?var=xxxxxxxx, where the parameter xxxxxxxx values on the links can change at any time may be due to activity updates. This will cause facebook can not find a link that has been logged.
Bandwidth & server connection you less stable.
If I may suggest, avoid links / URLs dynamically & use the SEO Friendly link/URL like this page URL http://stackoverflow.com/questions/8529022/why-are-my-links-to-my-site-disappearing-from-feeds-after-2-3-hours
My app is currently on beta testing, so a few people are actually using my app to connect to Facebook through either WiFi, 3G, or EDGE.
However they are reporting that it's very slow. I checked out my API response time, and it turns out that it's 31,546ms. How can it be so long? That means that users of my app has to wait about half a minute before they can post their stuff successfully to Facebook... Anyone has any idea how to speed it up?
P.S. I checked this out from going to the inisights of my app.