Kodi Community Forum
Facebook-Media - Facebook Photo/Video Addon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Picture Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=150)
+---- Thread: Facebook-Media - Facebook Photo/Video Addon (/showthread.php?tid=82500)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


RE: [RELEASE] Facebook-Media - Facebook Photo/Video Addon - ruuk - 2012-08-09

(2012-08-09, 05:51)Tyzing Wrote: Cant seem to get it working. Everytime I get token and type it in it says failed. I go to Facebook and approve the device but then I have to login again on XBMC....its a circle. Any help?

I'll look in to it within the next couple of days and may ask for a log if I can't duplicate it.


v0.7.6 - ruuk - 2012-08-10

Version 0.7.6

Changes:
- Fixed a bug causing failure to get a new token

On my REPO.
(2012-08-09, 05:51)Tyzing Wrote: Cant seem to get it working. Everytime I get token and type it in it says failed. I go to Facebook and approve the device but then I have to login again on XBMC....its a circle. Any help?

The new version (0.7.6) on my repo should fix the error.
Let me know.


RE: [RELEASE] Facebook-Media - Facebook Photo/Video Addon - Tyzing - 2012-09-09

Error no control matching kind


RE: v0.7.6 - novolo - 2012-09-18

(2012-08-10, 21:46)ruuk Wrote: Version 0.7.6

Changes:
- Fixed a bug causing failure to get a new token

On my REPO.
(2012-08-09, 05:51)Tyzing Wrote: Cant seem to get it working. Everytime I get token and type it in it says failed. I go to Facebook and approve the device but then I have to login again on XBMC....its a circle. Any help?

The new version (0.7.6) on my repo should fix the error.
Let me know.


i am downloading this, although i am not sure how to install it.

Why isnt this version available to be downloaded directly from xbmc? there it still shows as version 0.6.9


RE: v0.7.6 - novolo - 2012-09-18

(2012-08-10, 21:46)ruuk Wrote: Version 0.7.6

Changes:
- Fixed a bug causing failure to get a new token

On my REPO.
(2012-08-09, 05:51)Tyzing Wrote: Cant seem to get it working. Everytime I get token and type it in it says failed. I go to Facebook and approve the device but then I have to login again on XBMC....its a circle. Any help?

The new version (0.7.6) on my repo should fix the error.
Let me know.

ok, updated facebook media from zip file...

now i am getting a diferent error message:

no control matching name 'submit[Don&#039:t Save]',kind'clickab...

Any ideas?


RE: [RELEASE] Facebook-Media - Facebook Photo/Video Addon - Uthelion - 2012-10-03

same problem also.
just installed XBMC the first time and was testing it, When i noticed that the facebook app was not working i found this thread here and updated to 0.7.6.

i recieve exact same error "no control matching name[submit, this is ok]...clickable...


RE: [RELEASE] Facebook-Media - Facebook Photo/Video Addon - cbrown - 2012-10-07

error of mine:

'unocode' object has no attribute 'get'
when select "friends"

version 0.7.6 - xbmc version 12 nightly v.
on imac osx 10.7

obtained 3 greens of 4...





RE: [RELEASE] Facebook-Media - Facebook Photo/Video Addon - koro - 2012-10-10

Installed the repo and updated to 0.7.6.
Also getting the error 'unocode' object has no attribute 'get'

Ken



RE: [RELEASE] Facebook-Media - Facebook Photo/Video Addon - rouz - 2012-11-01

updated to 0,7,6 and got the error : no control matching name 'submit[Don&#039:t Save]',kind'...


RE: [RELEASE] Facebook-Media - Facebook Photo/Video Addon - griddy - 2012-11-09

Having trouble with this addon as well

Code:
NOTICE: FACEBOOK MEDIA: XBMC Skin: skin.confluence
18:10:09 T:139858093799168  NOTICE: FACEBOOK MEDIA: Could not import ShareSocial
18:10:09 T:139859570571136   ERROR: Control 120 in window 13000 has been asked to focus, but it can't
18:10:09 T:139858093799168  NOTICE: FACEBOOK MEDIA: CATEGORIES - STARTED
18:10:09 T:139858093799168  NOTICE: FACEBOOK MEDIA: CATEGORIES - STOPPED
18:10:09 T:139858093799168   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: argument 1 must be string, not None
                                            Traceback (most recent call last):
                                              File "/home/myname/.xbmc/addons/script.facebook.media/default.py", line 126, in onInit
                                                if not self.session.start():
                                              File "/home/myname/.xbmc/addons/script.facebook.media/default.py", line 435, in start
                                                self.setUserDisplay()
                                              File "/home/myname/.xbmc/addons/script.facebook.media/default.py", line 1259, in setUserDisplay
                                                self.window.getControl(140).setImage(self.getSetting('current_user_pic'))
                                            TypeError: argument 1 must be string, not None
                                            -->End of Python script error report<--
18:10:09 T:139859570571136   ERROR: Control 120 in window 13000 has been asked to focus, but it can't
18:10:14 T:139858093799168  NOTICE: FACEBOOK MEDIA: FRIENDS - STARTED
18:10:16 T:139858093799168  NOTICE: FACEBOOK MEDIA: UNHANDLED ERROR
18:10:16 T:139858093799168   ERROR: Traceback (most recent call last):
18:10:16 T:139858093799168   ERROR:   File "/home/myname/.xbmc/addons/script.facebook.media/default.py", line 1053, in menuItemSelected
18:10:16 T:139858093799168   ERROR:     self.FRIENDS(uid)
18:10:16 T:139858093799168   ERROR:   File "/home/myname/.xbmc/addons/script.facebook.media/default.py", line 772, in FRIENDS
18:10:16 T:139858093799168   ERROR:     tn_url = show[s].picture('').replace('_q.','_n.')
18:10:16 T:139858093799168   ERROR:   File "/home/myname/.xbmc/addons/script.facebook.media/facebook.py", line 376, in handler
18:10:16 T:139858093799168   ERROR:     return self._getData(prop,default,as_json)
18:10:16 T:139858093799168   ERROR:   File "/home/myname/.xbmc/addons/script.facebook.media/facebook.py", line 391, in _getData
18:10:16 T:139858093799168   ERROR:     return Connections(self.graph,val,progress=False)
18:10:16 T:139858093799168   ERROR:   File "/home/myname/.xbmc/addons/script.facebook.media/facebook.py", line 282, in __init__
18:10:16 T:139858093799168   ERROR:     if connections: self.processConnections(connections)
18:10:16 T:139858093799168   ERROR:   File "/home/myname/.xbmc/addons/script.facebook.media/facebook.py", line 287, in processConnections
18:10:16 T:139858093799168   ERROR:     cons.append(GraphObject(c.get('id'),self.graph,c))
18:10:16 T:139858093799168   ERROR: AttributeError: 'unicode' object has no attribute 'get'

Any attempt to view photos or friends seems to start to work as something is downloaded but xbmc crashes as soon as they are about to display.
Where am I going wrong? Anyone have any ideas?


RE: [RELEASE] Facebook-Media - Facebook Photo/Video Addon - Piers - 2012-12-10

Plus one to the above.


RE: [RELEASE] Facebook-Media - Facebook Photo/Video Addon - timh - 2013-01-04

I'm having the same (or very similar issue). After getting latest edition by installing from the repo, I get this - posting end of log in case this differs and helps at all. I guess facebook changed something that broke this, am I right? Seems it freezes on pane 3 of 4 on config, then when I reload, I get the user tile that is empty, with the following in log

21:54:19 T:2852516960 NOTICE: Thread XBPyThread start, auto delete: false
21:54:19 T:2844128352 NOTICE: Thread Jobworker start, auto delete: true
21:54:21 T:2852516960 NOTICE: -->Python Interpreter Initialized<--
21:54:27 T:2910844000 NOTICE: Thread Background Loader start, auto delete: false
21:54:27 T:2852516960 NOTICE: Previous line repeats 1 times.
21:54:27 T:2852516960 WARNING: CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
21:54:30 T:2852516960 NOTICE: Thread XBPyThread start, auto delete: false
21:54:31 T:2852516960 NOTICE: -->Python Interpreter Initialized<--
21:54:34 T:2852516960 NOTICE: (None, None)
21:54:34 T:2852516960 NOTICE: (None, None)
21:54:34 T:2852516960 NOTICE: FACEBOOK MEDIA: Version: 0.7.6
21:54:34 T:2852516960 NOTICE: FACEBOOK MEDIA: XBMC Version: 12.0-RC2 Git:74b907c
21:54:34 T:2852516960 NOTICE: FACEBOOK MEDIA: XBMC Skin: skin.hybrid
21:54:34 T:2852516960 NOTICE: FACEBOOK MEDIA: Could not import ShareSocial
21:54:34 T:3043704832 ERROR: Control 120 in window 13000 has been asked to focus, but it can't
21:54:35 T:2852516960 ERROR: Previous line repeats 1 times.
21:54:35 T:2852516960 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: argument 1 must be string, not None
Traceback (most recent call last):
File "/storage/.xbmc/addons/script.facebook.media/default.py", line 126, in onInit
if not self.session.start():
File "/storage/.xbmc/addons/script.facebook.media/default.py", line 418, in start
user = self.getCurrentUser()
File "/storage/.xbmc/addons/script.facebook.media/default.py", line 1545, in getCurrentUser
if uid: self.setCurrentUser(uid)
File "/storage/.xbmc/addons/script.facebook.media/default.py", line 1536, in setCurrentUser
self.setUserDisplay()
File "/storage/.xbmc/addons/script.facebook.media/default.py", line 1259, in setUserDisplay
self.window.getControl(140).setImage(self.getSetting('current_user_pic'))
TypeError: argument 1 must be string, not None
-->End of Python script error report<--
root ~/.xbmc/temp #

Now heres the interesting bit, if I open the default.py file and jump to line 1259 I see this:

self.window.getControl(140).setImage(self.getSetting('current_user_pic')

another thread that I've lost track of now discussed the Asterisk add in and suggested removing the quotes on a similar line, so I did so here and on the below line referencing current_user_name.

After an XBMC restart (

killall -9 xbmc.bin

)

The addin seems to load further, I get to select from Albums, videos, friends etc.

Now though, it crashes out completely and restarts xmbc when it loads photos in.

No idea what I'm doing here really, but perhaps this will help fix the issue in some way!!!

Incidentally, the exact same behaviour was seen on the version available before I loaded the repo version (0.6.7 I think It was). Same hack I did, same behaviour, getting a bit further, then falling over.

Incidentally, haven't read the whole thread, but to put in context, this is on latest OpenElec on Rasberry Pi.


RE: [RELEASE] Facebook-Media - Facebook Photo/Video Addon - ruuk - 2013-01-09

Just a quick update to say I'm working on fixing some of the latest issues and the issues with Frodo.

Personally, when I updated to Frodo, the addon had issues with crashing XBMC when backing up in the hierarchy. I've found the problem and have fixed it for the next update. I'll look at some of the other issues as well, see about fixing them, and update my repo with a new version when I'm done.

For those with problems with Login Notifications enabled, try disabling Login Notifications and then authorize the addon. You can re-enable it afterwards and it should work fine. I have login notifications enabled and can use the addon just fine.

I do not plan on supporting anything but the normal login process at this time. There is no authentication method in the Facebook API for a browser-less device. That means I have to scrape web pages and such and handling the changes with login notification is difficult. I have tried and failed quite a few times. This also does not take into account that Facebook likes to change things often.


v0.7.7 - ruuk - 2013-01-09

Version 0.7.7

Changes:
- Fixed issue causing XBMC to crash when backing up in the hierarchy
- Fixed issues with some changes to Facebook API causing errors with user images and similar
- Fixed authentication code not actually fetching token after 4 digit code was entered
- External: When going to xbmc.2ndmind.com/fb, it now forces the user to re-enter their password, thereby giving a chance to logout the user

On my REPO.

Please let me know how it works for you. If you have errors, I need a log. If you are having problems authenticating and you have any sort of login security enabled, disable the security or write your own addon Smile


RE: [RELEASE] Facebook-Media - Facebook Photo/Video Addon - debal - 2013-01-11

stil blocken on the 4 digit pin code where can i get this 4 pin code ? pls help me