Kodi Community Forum

Full Version: Facebook-Media - Facebook Photo/Video Addon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
thanks. facebook media addon works nice here Smile
Just tried it quickly. Login works fine. Interface is nice. Can get my pictures and albums, slideshow worked only once. Getting the friends of my friends was not possible. I 'll do some more testing tomorrow. Thanks for you work on this beautifull add-on.
ruuk Wrote:Ok, I think everything is basically done for the XBMC version of the Facebook Media addon. This version adds what was missing and fixes some problems and errors I found. I'd really like to get some feedback on how it's working for other people. I've added some code that will fix the fonts for skins other than confluence. The results won't always be perfect, but should be better in any case.

Here's the link.

http://facebook-media.googlecode.com/fil...-0.5.3.zip

If you have any problems, let me know. If you don't have any problems, please let me know that too Smile

Hey I was wondering if there was a way to integrate multiple logins? I would like to use this however I have the wifey also wanting to check her stuff out. Would be nice if we could switch users somehow.
I keep getting an error when trying to authorize via webviewer. anyone got this working on an atv2?
rflores2323 Wrote:Hey I was wondering if there was a way to integrate multiple logins? I would like to use this however I have the wifey also wanting to check her stuff out. Would be nice if we could switch users somehow.

It is setup for mutilple users. It worked with the plugin 0.9.8 and now the script 0.5.3. You need to use the new script that adds a bunch of functionality, here is the link:

http://facebook-media.googlecode.com/fil...-0.5.3.zip

Unzip in the .xbmc/addons/ folder and you will find it under programs not pictures as Facebook media. Once loaded if you move left arrow two clicks a drop down box will appear and you will see where to add users. Once you add the users and both are signed on, just left arrow over until that drop down appears and you will see the users, just highlight the user and hit select/enter and it will swap active user. Great plugin.

Make sure you have the latest web viewer release installed, I think ruuk posted that back a few pages.
speed32219 Wrote:A. Only thing is the camera in center should be bright, like pic on side when hovering over an image.

B. Update: The only thing with the web viewer authorization, it asks me 4 times if I am done with authorization before moving to next step. Ah, maybe I should check on my verison level of web viewer first.

C. Will this display new messages live as they are being submitted by a friend on your list?

A. The image in the camera is faded to match the old photo appearance of the background. Since it is not used as a preview (in fact it is a fairly small thumbnail image and at the size it is scaled to in the camera you can see compression artifacts, especially without the faded overlay) I went with form over function.

B. I've had the same problem. Thought I fixed it. I guess not. I'll look into it.

C. Comments are updated when the list of photos is shown, and after you submit a comment.
When the addon gets the list of photos, the comments and tagged users come with the photo data with only one request to facebook. Getting just the comments for a photo takes almost as long as getting that entire photo list, so updating whenever you open the comments would cause an unacceptable delay. Perhaps I could add a refresh option?

Harry Tension Wrote:...slideshow worked only once. Getting the friends of my friends was not possible.

What happened the second try?
I believe getting the friends will only work if the friend has the Facebook Media addon authorized as well. For instance, I can view my wife and daughters friends, but no one else's. It's due to permissions issues. You will also not be able to see other items for some users because of privacy settings, and you will get a similar message. There is no way of knowing if the addon can access them until it does the request, otherwise I would disable the item.

rflores2323 Wrote:I keep getting an error when trying to authorize via webviewer. anyone got this working on an atv2?

Authorization is problematic with the atv2 for a many of my addons due to SSL issues (at least that's the best I can discern from others, since I don't have an atv2) It's not directly related to Web Viewer. I am planning to see if I can add an alternate authorization method. (ie authorize from another computer) I did that with the flickr addon, but I'm still waiting for a reply in that thread to see if it works on atv2.
ruuk Wrote:Authorization is problematic with the atv2 for a many of my addons due to SSL issues (at least that's the best I can discern from others, since I don't have an atv2) It's not directly related to Web Viewer. I am planning to see if I can add an alternate authorization method. (ie authorize from another computer) I did that with the flickr addon, but I'm still waiting for a reply in that thread to see if it works on atv2.

I keep getting this error.

Error loading page
urlopen error_ssl.c:310:INvalid SSl protocol variant specified

If you do this addon like the other I will test it out for you and let you know if it works or not.
Hi everyone. I installed the facebook-media plugin and everything works fine except the slideshow function. Whenever I click on "Slideshow" a message appears saying "Getting pictures (number) of (number)" but when it finishes loading the pictures absolutely nothing happens. Has anyone had a similar issue? I would really appreciate some guidance.
Hi,

When I first set the facebookphotos plugin up it was working fine (0.9.7 from repo) but within a couple of days it suddenly starting giving me the following error:

Unhandled Error:

Bad signature


I've tried removing/re-adding/reauthorizing but nothing works.

any ideas?

thanks,

Alex




Edit: same problem with 0.9.8

Log
Code:
09:28:24 T:139957453154048 M:3358867456  NOTICE: -->Python Interpreter Initialized<--
09:28:24 T:139957453154048 M:3358867456  NOTICE: {'url': 'add', 'mode': '501'}
09:28:46 T:139957453154048 M:3357507584  NOTICE: https://graph.facebook.com/oauth/authorize?client_id=150505371652086&redirect_uri=http://www.facebook.com/co$
09:28:48 T:139957453154048 M:3357605888  NOTICE: HTML
09:28:50 T:139957453154048 M:3357605888  NOTICE: FORM
09:28:50 T:139957453154048 M:3357605888  NOTICE: ERROR: GraphWrap::extractTokenFromURL (160) - 'access_token'
09:28:50 T:139957453154048 M:3357605888  NOTICE: SCRIPT TOKEN
09:28:51 T:139957453154048 M:3357638656  NOTICE: FACEBOOKPHOTOS: ERROR - Unhandled::? (670) - Bad signature
09:29:41 T:139958023338080 M:3357544448  NOTICE: Samba is idle. Closing the remaining connections
09:35:21 T:139957453154048 M:3357396992   ERROR: Error Type: facebook.GraphAPIError
09:35:21 T:139957453154048 M:3357396992   ERROR: Error Contents: Bad signature
09:35:21 T:139957453154048 M:3357396992   ERROR: Traceback (most recent call last):
                                              File "/home/alex/.xbmc/addons/plugin.image.facebook/default.py", line 670, in ?
                                                fb.doPlugin()
                                              File "/home/alex/.xbmc/addons/plugin.image.facebook/default.py", line 539, in doPlugin
                                                if self.addUser():
                                              File "/home/alex/.xbmc/addons/plugin.image.facebook/default.py", line 469, in addUser
                                                user = self.graph.getObject('me')
                                              File "/home/alex/.xbmc/addons/plugin.image.facebook/default.py", line 93, in getObject
                                                return self.get_object(id, **args)
                                              File "/home/alex/.xbmc/addons/plugin.image.facebook/facebook.py", line 88, in get_object
                                                return self.request(id, args)
                                              File "/home/alex/.xbmc/addons/plugin.image.facebook/facebook.py", line 185, in request
                                                response["error"]["message"])
                                            GraphAPIError: Bad signature

09:35:21 T:139958023338080 M:3357650944   ERROR: GetDirectory - Error getting plugin://plugin.image.facebook/?url=add&mode=501
09:35:21 T:139958023338080 M:3357650944   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.image.facebook/?url=add&mode=501) failed
09:35:21 T:139957672683264 M:3357143040  NOTICE: -->Python Interpreter Initialized<--
09:35:22 T:139957672683264 M:3356897280  NOTICE: None
09:35:22 T:139957672683264 M:3356897280  NOTICE: LOADING OLD DATA
kirtash12 Wrote:Hi everyone. I installed the facebook-media plugin and everything works fine except the slideshow function. Whenever I click on "Slideshow" a message appears saying "Getting pictures (number) of (number)" but when it finishes loading the pictures absolutely nothing happens. Has anyone had a similar issue? I would really appreciate some guidance.

I need to see your log file after right after you get this behavior.
alexm Wrote:Hi,
Unhandled Error:

Bad signature

I'll look into it as soon as I can.

Why don't you try the script version (ie not plugin) at this link:

http://facebook-media.googlecode.com/fil...-0.5.3.zip

Update: I tried the plugin myself and I get the same error. The script is working fine though.
Hi, i have installed the latest script version.
it runs as far as entering my user name and password, then wev viewer loads up, and then it just hangs - with web viewer blank in the background, and the box in front saying loading folder.

Log below:
Code:
01:24:56 M: 24850432 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(plugin) in plugin://pictures/plugin.image.facebook/folder.jpg
01:24:56 M: 24592384 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(plugin) in plugin://pictures/script.facebook.media/folder.jpg
01:25:00 M: 30412800  NOTICE: -->Python Initialized<--
01:25:03 M: 26759168  NOTICE: ('eng_US', 'cp0')
01:25:03 M: 26611712  NOTICE: ('eng_US', 'cp0')
01:25:03 M: 26611712  NOTICE: FACEBOOK MEDIA: XBMC Version: 3.0-r30850
01:25:03 M: 26611712  NOTICE: FACEBOOK MEDIA: XBMC Skin: Confluence
01:25:04 M: 30613504  NOTICE: FACEBOOK MEDIA: ADD USER PART 1
01:26:48 M: 31727616  NOTICE: WEBVIEWER: getWebResult() - STARTED
01:26:48 M: 31727616  NOTICE: WEBVIEWER: STARTED
01:26:49 M: 25550848  NOTICE: [url]https://graph.facebook.com/oauth/authorize?client_id=150505371652086&redirect_uri=http%3A//2ndmind.com/facebookphotos/complete.html&type=user_agent&scope=user_photos%2Cfriends_photos%2Cuser_photo_video_tags%2Cfriends_photo_video_tags%2Cuser_videos%2Cfriends_videos%2Cpublish_stream[/url]
01:26:49 M: 25489408   ERROR: LoadLibrary('NETAPI32.DLL') failed
01:26:49 M: 25489408 WARNING: Unable to resolve: user32.dll GetForegroundWindow
01:26:49 M: 25489408 WARNING: Unable to resolve: user32.dll GetCursorInfo
01:26:49 M: 25489408 WARNING: Unable to resolve: user32.dll GetQueueStatus
01:26:49 M: 25489408 WARNING: Unable to resolve: kernel32.dll CreateToolhelp32Snapshot
01:26:49 M: 25489408 WARNING: Unable to resolve: kernel32.dll CloseToolhelp32Snapshot
01:26:49 M: 25489408 WARNING: Unable to resolve: kernel32.dll Heap32First
01:26:49 M: 25489408 WARNING: Unable to resolve: kernel32.dll Heap32Next
01:26:49 M: 25489408 WARNING: Unable to resolve: kernel32.dll Heap32ListFirst
01:26:49 M: 25489408 WARNING: Unable to resolve: kernel32.dll Heap32ListNext
01:26:49 M: 25489408 WARNING: Unable to resolve: kernel32.dll Process32First
01:26:49 M: 25489408 WARNING: Unable to resolve: kernel32.dll Process32Next
01:26:49 M: 25489408 WARNING: Unable to resolve: kernel32.dll Thread32First
01:26:49 M: 25489408 WARNING: Unable to resolve: kernel32.dll Thread32Next
01:26:49 M: 25489408 WARNING: Unable to resolve: kernel32.dll Module32First
01:26:49 M: 25489408 WARNING: Unable to resolve: kernel32.dll Module32NextDE]

Is it something to do with: ERROR: LoadLibrary('NETAPI32.DLL') failed ?

Cheers,
Sean.
ruuk Wrote:Authorization is problematic with the atv2 for a many of my addons due to SSL issues (at least that's the best I can discern from others, since I don't have an atv2) It's not directly related to Web Viewer. I am planning to see if I can add an alternate authorization method. (ie authorize from another computer) I did that with the flickr addon, but I'm still waiting for a reply in that thread to see if it works on atv2.

Just wondering if this issue is being worked on for the atv2?
Thanks!
rflores2323 Wrote:Just wondering if this issue is being worked on for the atv2?

has this been resolved on the atv2 yet?
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