jamesthehacker / facebook-live-reactions Goto Github PK
View Code? Open in Web Editor NEWThe easiest way to create interactive Facebook live streams. Displays reaction count and live shoutouts :)
License: MIT License
The easiest way to create interactive Facebook live streams. Displays reaction count and live shoutouts :)
License: MIT License
PHP Fatal error: Uncaught Error: Class 'FBReactions\Facebook' not found in /facebook-live-reactions/fblive.php:26
Stack trace:
#0 {main}
thrown in /facebook-live-reactions/fblive.php on line 26
This works great on Pages, would I be right in assuming that this wont be usable on a live stream from a personal profile (especially since I don't think such a stream is possible from the web)
I tried to change the "share" word to another thing in the fblive.php but it dosnt seem to by applied. What is your instruction to change it ? I've made my changes in the strpos call...
Hi tried the new version and the old one in master branch. And both seems to not retrieving all the coments of the post ID. It's realy strange. And cause of that the people that are commenting the keyword dont show theire names... it's weird
I used facebook debuger
del
I noticed that when I do a LOVE reaction the love totalcount increases +1, but if then I do a WOW reaction. The LOVE totalcount will decrease -1 and WOW totalcount will increase.
So it seems that the reactions are unique... doesnt matter if you click the LOVE reaction many many times. right ???
[23-Nov-2016 10:03:06 UTC] PHP Warning: join(): Invalid arguments passed in /root/facebook-live-reactions/functions.php on line 14 [23-Nov-2016 10:03:06 UTC] PHP Notice: Undefined index: data in /root/facebook-live-reactions/fblive.php on line 57 [23-Nov-2016 10:03:06 UTC] PHP Warning: array_filter() expects parameter 1 to be array, null given in /root/facebook-live-reactions/fblive.php on line 63 [23-Nov-2016 10:03:07 UTC] PHP Notice: Use of undefined constant SETTINGS - assumed 'SETTINGS' in /root/facebook-live-reactions/functions.php on line 114 [23-Nov-2016 10:03:07 UTC] PHP Warning: Illegal string offset 'REACTIONS' in /root/facebook-live-reactions/functions.php on line 114 [23-Nov-2016 10:03:07 UTC] PHP Warning: array_keys() expects parameter 1 to be array, string given in /root/facebook-live-reactions/functions.php on line 114 [23-Nov-2016 10:03:07 UTC] PHP Warning: Invalid argument supplied for foreach() in /root/facebook-live-reactions/functions.php on line 71
How to fix it?
Do you have any Idea why some posts from public pages are returning empty data from the graphAPI, some work, some dont...
Any Idea what can be the reason for posts being unavailable when queried using graph api ?
hello, admin, you update this project in one year ago. if this project working now.
As you know we have more than the "public result" from every post..
some time you see the Reactions = 500
but we have more than that.. We have 200 too from share ..
you can found that from "Publishing Tools" Tab in Facebook.
can we collect this numbers too ?
Thank you
When i start i got this
Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (rtmp://rtmp-api.facebook.com:80/rtmp/1130523197002349?ds=1&s_l=1&a=AaZ4MldB-BHc7tzI) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[scale @ 0x1c46b80] The ::flags= option syntax is deprecated. Use either :: or w=:h=:flags=.
And stream stops? i dont know, when i react to the post it will change the picture but overlay is visible.
I got good bitrate
frame= 6465 fps= 25 q=-1.0 Lsize= 65216kB time=00:04:18.63 bitrate=2065.7kbits/s
but in the feacebook page i got a message saying that my live is over when i click in it.
But there is the "broadcasting" header...
And if i stream an mp4 file thru facebook it's ok...
Any idea ?
Parse error: syntax error, unexpected '[' in /root/facebook-live-reactions/functions.php on line 11
Hello,
first thank you for the script :)
I have 2 issues:
As you can see I got a bit image overlay with a questionmark (how can I solve this?)
It does now displays my Likes and shouts. (how can I solve this?)
Is it related to this error:
PHP Warning: array_filter() expects parameter 1 to be array, null given in /home/ubuntu/Facebook-Live-Reactions/fblive.php on line 57
thank you.
Hi,
I tried to install Sox in centos 7. I searched in google and installed it. But now when i tried to run Sox command to make loop (sox audio.mp3 audio-loop.mp3 repeat 15) I got error
-bash: sox: command not found
Can you please help me.
When I try to run the script it gives me this message:
Unknown encoder 'libfdk aac'
I get the following error everytime I run "php fblive.php"
PHP Fatal error: Class 'FBReactions\Facebook' not found in /var/www/html/live/fblive.php on line 26
how i make this scripte work in my web site
is this scripte like this
http://esuite.me/facebook-live-direct-sellers/
I am having this problem with ffmpeg.
Packets are not in the proper order with respect to DTS
It seems to have something to do with the size of the .mp3 file. Any workarounds?
I cant really pin point this issue, but looks like theres a problem redrawing the image when reactions are updated, Reactions are received properly but not displayed.
Functions.php should read the settings and build the reactions in drawReactionCount
automatically. We can also use the image's width in pixels divided by the number of active reactions to properly space the reactions on the screen by default (which can still be overwritten through settings). This should allow further customization of the live image.
Hello,
my stream is aborting after 30-60 minutes, even when i have a 4 hours musicfile.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.