• 1
  • 22
  • 23
  • 24
  • 25(current)
  • 26
Facebook-Media - Facebook Photo/Video Addon
Just an FYI, I've done some work to fix the issues with images displaying, but right now I'm busy migrating server that I used for authentication for some of my add-ons (including this one) to new hosting because the old hosting decided to deprecate their service. I've gotten it mostly moved over, but the data I had that controlled how the authentication flow went for each site is lost so I need to figure all that out again before it will actually work. For the moment though, auth is broken.
Reply
Auth should be working again. Hopefully I can get the fixes in for displaying images soon.
Reply
Information 
Version 0.9.17

Changes:
  • Fixed thumbnails not displaying
  • Fixed images not displaying
  • Fixed videos not playing
  • Removed superfluous auto login setting

On the official Kodi repo, pending mirror updates.
Reply
(2017-11-12, 03:22)ruuk Wrote: Version 0.9.17

Changes:
  • Fixed thumbnails not displaying
  • Fixed images not displaying
  • Fixed videos not playing
  • Removed superfluous auto login setting

On the official Kodi repo, pending mirror updates. 
Reply
RuuK - 0.9.17 is more broken the the prior release.  Downloaded from the repository.  Asked me to re-authorize, but then errored before allowing me to do so.
So Now I get nothing except my FB profile pic in the upper left...


Please advise

Major
Reply
It's a little difficult for me to guess at what your issue is without a log.
Reply
(2017-11-13, 23:39)ruuk Wrote: It's a little difficult for me to guess at what your issue is without a log.
Sorrry - here it is....
00:08:54.892 T:138564998224  NOTICE: FACEBOOK MEDIA: Version: 0.9.17
00:08:54.894 T:138564998224  NOTICE: FACEBOOK MEDIA: XBMC Version: 17.5 Git:20171024-3ce9774
00:08:54.894 T:138564998224  NOTICE: FACEBOOK MEDIA: XBMC Skin: skin.estuary
00:08:54.899 T:138564998224  NOTICE: FACEBOOK MEDIA: Could not import ShareSocial
00:08:54.901 T:138564998224 WARNING: CSkinInfo: failed to load skin settings
00:08:55.288 T:138091193424   ERROR: Control 120 in window 13000 has been asked to focus, but it can't
00:08:55.395 T:138564998224 WARNING: CSkinInfo: failed to load skin settings
00:08:55.408 T:138091193424   ERROR: Control 120 in window 13000 has been asked to focus, but it can't
00:08:55.414 T:138564998224  NOTICE: FACEBOOK MEDIA: ADD USER PART 1
00:08:56.171 T:138564998224  NOTICE: FACEBOOK MEDIA: ERROR
00:08:56.171 T:138564998224   ERROR: Traceback (most recent call last):
00:08:56.171 T:138564998224   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.facebook.media/default.py", line 1608, in addUser
00:08:56.173 T:138564998224   ERROR:     token = self.getAuth()
00:08:56.173 T:138564998224   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.facebook.media/default.py", line 1757, in getAuth
00:08:56.174 T:138564998224   ERROR:     token = OAuthHelper.getToken('script.facebook.media')
00:08:56.174 T:138564998224   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.oauth.helper/lib/OAuthHelper.py", line 37, in getToken
00:08:56.177 T:138564998224   ERROR:     if token == True: token = _getToken(source)
00:08:56.177 T:138564998224   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.oauth.helper/lib/OAuthHelper.py", line 76, in _getToken
00:08:56.177 T:138564998224   ERROR:     req = session.post(URL.format('getlookup'),data={'source'Confusedource})
00:08:56.178 T:138564998224   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 555, in post
00:08:56.180 T:138564998224   ERROR:     return self.request('POST', url, data=data, json=json, **kwargs)
00:08:56.180 T:138564998224   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 508, in request
00:08:56.181 T:138564998224   ERROR:     resp = self.send(prep, **send_kwargs)
00:08:56.181 T:138564998224   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 618, in send
00:08:56.181 T:138564998224   ERROR:     r = adapter.send(request, **kwargs)
00:08:56.181 T:138564998224   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/adapters.py", line 508, in send
00:08:56.183 T:138564998224   ERROR:     raise ConnectionError(e, request=request)
00:08:56.183 T:138564998224   ERROR: ConnectionError: HTTPSConnectionPool(host='main-ruuk.rhcloud.com', port=443): Max retries exceeded with url: /auth/getlookup (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x204dab9220>: Failed to establish a new connection: [Errno 7] No address associated with hostname',))
00:09:06.210 T:138091193424   ERROR: Control 120 in window 13000 has been asked to focus, but it can't
00:09:06.250 T:138564998224  NOTICE: FACEBOOK MEDIA: Unhandled Error
00:09:06.250 T:138564998224   ERROR: Traceback (most recent call last):
00:09:06.250 T:138564998224   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.facebook.media/default.py", line 176, in onInit
00:09:06.251 T:138564998224   ERROR:     if not self.session.start():
00:09:06.251 T:138564998224   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.facebook.media/default.py", line 513, in start
00:09:06.251 T:138564998224   ERROR:     self.graph = newGraph(  user.email,
00:09:06.251 T:138564998224   ERROR: AttributeError: 'NoneType' object has no attribute 'email'
00:09:09.830 T:138534696016  NOTICE: FACEBOOK MEDIA: Version: 0.9.17
00:09:09.833 T:138534696016  NOTICE: FACEBOOK MEDIA: XBMC Version: 17.5 Git:20171024-3ce9774
00:09:09.833 T:138534696016  NOTICE: FACEBOOK MEDIA: XBMC Skin: skin.estuary
00:09:09.837 T:138534696016  NOTICE: FACEBOOK MEDIA: Could not import ShareSocial
00:09:09.839 T:138534696016 WARNING: CSkinInfo: failed to load skin settings
00:09:10.193 T:138091193424   ERROR: Control 120 in window 13000 has been asked to focus, but it can't
00:09:10.225 T:138534696016   ERROR: Previous line repeats 1 times.
00:09:10.226 T:138534696016 WARNING: CSkinInfo: failed to load skin settings
00:09:10.244 T:138534696016  NOTICE: FACEBOOK MEDIA: ADD USER PART 1
00:09:10.721 T:138534696016  NOTICE: FACEBOOK MEDIA: ERROR
00:09:10.721 T:138534696016   ERROR: Traceback (most recent call last):
00:09:10.721 T:138534696016   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.facebook.media/default.py", line 1608, in addUser
00:09:10.723 T:138534696016   ERROR:     token = self.getAuth()
00:09:10.723 T:138534696016   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.facebook.media/default.py", line 1757, in getAuth
00:09:10.724 T:138534696016   ERROR:     token = OAuthHelper.getToken('script.facebook.media')
00:09:10.724 T:138534696016   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.oauth.helper/lib/OAuthHelper.py", line 37, in getToken
00:09:10.725 T:138534696016   ERROR:     if token == True: token = _getToken(source)
00:09:10.725 T:138534696016   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.oauth.helper/lib/OAuthHelper.py", line 76, in _getToken
00:09:10.725 T:138534696016   ERROR:     req = session.post(URL.format('getlookup'),data={'source'Confusedource})
00:09:10.725 T:138534696016   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 555, in post
00:09:10.726 T:138534696016   ERROR:     return self.request('POST', url, data=data, json=json, **kwargs)
00:09:10.726 T:138534696016   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 508, in request
00:09:10.726 T:138534696016   ERROR:     resp = self.send(prep, **send_kwargs)
00:09:10.726 T:138534696016   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 618, in send
00:09:10.727 T:138534696016   ERROR:     r = adapter.send(request, **kwargs)
00:09:10.727 T:138534696016   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/adapters.py", line 508, in send
00:09:10.728 T:138534696016   ERROR:     raise ConnectionError(e, request=request)
00:09:10.728 T:138534696016   ERROR: ConnectionError: HTTPSConnectionPool(host='main-ruuk.rhcloud.com', port=443): Max retries exceeded with url: /auth/getlookup (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x204decaea0>: Failed to establish a new connection: [Errno 7] No address associated with hostname',))
00:09:12.360 T:138091193424   ERROR: Control 120 in window 13000 has been asked to focus, but it can't
00:09:12.362 T:138534696016  NOTICE: FACEBOOK MEDIA: Unhandled Error
00:09:12.362 T:138534696016   ERROR: Traceback (most recent call last):
00:09:12.362 T:138534696016   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.facebook.media/default.py", line 176, in onInit
00:09:12.362 T:138534696016   ERROR:     if not self.session.start():
00:09:12.362 T:138534696016   ERROR:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.facebook.media/default.py", line 513, in start
00:09:12.362 T:138534696016   ERROR:     self.graph = newGraph(  user.email,
00:09:12.363 T:138534696016   ERROR: AttributeError: 'NoneType' object has no attribute 'email'
Reply
The add-on itself is fine. It looks like I forgot to update one of it's dependencies which handles the authorization stuff. It's on my dev computer so I didn't notice the error there. I'll have an update tomorrow.
Reply
Fixed the OAuth module and pushed it to the Kodi repo, pending mirror updates. Once that updates you're issue should go away.
Reply
OAuth mod update did the trick. Thanks so much !

Major
Reply
i can see only my photos and videos if i click on friends tab i got this:no friends or not authorized
Reply
Video 
Hello,
I was interested to add a video from facebook in a strm file.
I found this for Youtube :
Code:
youtube/?path=/root/video&action=play_video&videoid=$VIDEOID
 
Code:
youtube/?path=/root/video&action=play_all&playlist=$PLAYLISTID

And this for Dailymotion :
Code:
dailymotion_com/?url=%VIDEOID%&mode=playVideo

Is there any similar syntaxes for a facebook video ?
Where can I find a list of all the syntaxes available for a strm file ?
Reply
Gama41 Wrote:I found this for Youtube :
Code:
youtube/?path=/root/video&action=play_video&videoid=$VIDEOID
I think those methods do not work for live streams
 
Quote:Where can I find a list of all the syntaxes available for a strm file?
strm file is just a text file with stream URL on the first line. if the URL does not work in VLC it will not work in Kodi
Quote:Is there any similar syntaxes for a facebook video ?
I just want to watch public Facebook Live videos which can be viewed on the web without a Facebook account.  Can anyone tell me if some Kodi add-on will support this?
Or is there some method to get the stream URL?
Reply
hello.is this mod abandoned?When I press initialize,I just get an error message..
Reply
noone?
Reply
  • 1
  • 22
  • 23
  • 24
  • 25(current)
  • 26

Logout Mark Read Team Forum Stats Members Help
Facebook-Media - Facebook Photo/Video Addon2