maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Pidgin - Facebook chat plugin (https://talk.maemo.org/showthread.php?t=39331)

jaxxstorm 2010-01-05 13:21

Pidgin - Facebook chat plugin
 
I'm a proud new owner of an N900, installed Pidgin from extras and enabled extras-testing and extras-devel

Searched for facebookchat-plugin for pidgin and its nowhere to be found?
I tried downloading from the google code page and putting it in /usr/lib/pidgin and ~/.purple/plugins and it still doesn't appear - any ideas on what I might be doing wrong?

Cheers

tonyuk99 2010-01-05 15:36

Re: Pidgin - Facebook chat plugin
 
Found this:
http://maemo.org/packages/package_in...1.60-1.1maemo0
But can't seem to get the deb file to install via x-term or in red pill mode.
also tried getting it from google code page and no luck.
would love to try and get this working cause can't seem to chat using the browser when connected to 3.5g

darrennewman@sky.com 2010-01-05 16:10

Re: Pidgin - Facebook chat plugin
 
I don't have a N900 so i can't try it but I know it needs json-glib 0.7.6 or above. Its in extras-devel.


http://repository.maemo.org/extras-d...emo1_armel.deb

Install it and see if it works now.

tonyuk99 2010-01-05 17:59

Re: Pidgin - Facebook chat plugin
 
Still no luck can't get it to install. Says incompatible package or something like that. I'll just have to wait till someone hopefully get round to making an app or something easier to install

darrennewman@sky.com 2010-01-06 01:12

Re: Pidgin - Facebook chat plugin
 
You would need to install json-glib in xterm using dpkg -i. Once you have done that download latest plugin from

http://pidgin-facebookchat.googlecod...ookarm-1.64.so

and place in /usr/lib/purple-2/

should work after that.

tonyuk99 2010-01-06 15:15

Re: Pidgin - Facebook chat plugin
 
yep it works cheers!

Strive_Masiwa 2010-01-06 15:20

Re: Pidgin - Facebook chat plugin
 
Any novice-friendly step-by-step instructions for this utility?

jaxxstorm 2010-01-06 15:55

Re: Pidgin - Facebook chat plugin
 
Installed json-glib and it works like a charm, thanks!

ddwwf1 2010-01-06 16:05

Re: Pidgin - Facebook chat plugin
 
yeah noob friendly step by step guide to installing this would be great

therock 2010-01-06 16:10

Re: Pidgin - Facebook chat plugin
 
oh yeah just a quick one

darrennewman@sky.com 2010-01-06 16:53

Re: Pidgin - Facebook chat plugin
 
I will try my best but I don't have a N900 so might not get it right.

Download file from following link

http://repository.maemo.org/extras-d...emo1_armel.deb

Go into xterm, change directory to the directory you saved above file to.

You now need to become root (not sure how on a N900 but search on this forum and you should be able to find it).

Type dpkg -i libjson-glib-1.0-0_0.8.0-1maemo1_armel.deb

Now download following file

http://pidgin-facebookchat.googlecod...ookarm-1.64.so

and place in /usr/lib/purple-2/.

Thats it.

You can also add the Facebook icon to make it all look pretty.

Download following file

http://pidgin-facebookchat.googlecod...book_icons.zip

Unzip and place icons in /usr/share/pixmaps/pidgin/protocols

jaxxstorm 2010-01-06 17:18

Re: Pidgin - Facebook chat plugin
 
Darren, the file you've linked to isn't the correct one (at least it didn't work for me) I downloaded this one

http://repository.maemo.org/extras-d...emo1_armel.deb

and installed using dpkg

darrennewman@sky.com 2010-01-06 17:22

Re: Pidgin - Facebook chat plugin
 
Quote:

Originally Posted by jaxxstorm (Post 455805)
Darren, the file you've linked to isn't the correct one (at least it didn't work for me) I downloaded this one

http://repository.maemo.org/extras-d...emo1_armel.deb

and installed using dpkg

Ok cheers will edit my last post

Strive_Masiwa 2010-01-07 03:34

Re: Pidgin - Facebook chat plugin
 
Yikes. Kind of scared of messing around in/as Root.
I guess i will wait for a simplex installer.

Does this intergrate neatly into the contacts and convos apps?

nathanielsametz 2010-01-23 13:50

Re: Pidgin - Facebook chat plugin
 
+ 1 for query about intergration into conversations, or is this a port for the plug in TO pidgin? Just curious before I go messing :)

EDIT: sorry guys, should've done more googling. didn't realise it was solely for pidgin. would love to see some facebook chat intergration into contacts though! :)

fraaaaanka 2010-01-23 18:21

Re: Pidgin - Facebook chat plugin
 
I am new to maemo and linux ... im ok with computers though so i would like to learn some of the stuff i can do like this as i would like to have facebook chat linked into pidgeon chat as all my friends use facebook.

can anyone help me out on a couple of points with this tutorial darren has done???


Go into xterm, change directory to the directory you saved above file to.
HOW DO I CHANGE DIRECTORY?

You now need to become root (not sure how on a N900 but search on this forum and you should be able to find it).
WHAT DOES 'BECOME ROOT MEAN AND HOW DO I DO IT?



and place in /usr/lib/purple-2/.
I HAVE LOOKED AT THE STORAGE ON MY N900 (THROUGH CONNECTING TO MY PC AND EXPLORING FOLDERS ON N900 THROUGH MY PC) AND CANT FIND A FOLDER NAMED USR?

TNiga 2010-01-23 18:51

Re: Pidgin - Facebook chat plugin
 
Quote:

Originally Posted by fraaaaanka (Post 490746)
I am new to maemo and linux ... im ok with computers though so i would like to learn some of the stuff i can do like this as i would like to have facebook chat linked into pidgeon chat as all my friends use facebook.

can anyone help me out on a couple of points with this tutorial darren has done???

Go into xterm, change directory to the directory you saved above file to.
HOW DO I CHANGE DIRECTORY?

You change directory with command "cd", for example "cd /home/user" (without quotation marks of course). You can find information about some basic commands in here http://www.debianhelp.co.uk/commands.htm for example.

Quote:

Originally Posted by fraaaaanka (Post 490746)
You now need to become root (not sure how on a N900 but search on this forum and you should be able to find it).
WHAT DOES 'BECOME ROOT MEAN AND HOW DO I DO IT?

You need to install rootsh via application manager and then you can become root in xterm with command "sudo gainroot". WHEN ROOT, DON'T DO ANYTHING IF YOU DON'T KNOW WHAT YOU ARE DOING!!!

Quote:

Originally Posted by fraaaaanka (Post 490746)
and place in /usr/lib/purple-2/.
I HAVE LOOKED AT THE STORAGE ON MY N900 (THROUGH CONNECTING TO MY PC AND EXPLORING FOLDERS ON N900 THROUGH MY PC) AND CANT FIND A FOLDER NAMED USR?

That's because the folder that is visible to computer in mass storage mode is /home/user/MyDocs so you see only files and directories under that.

fraaaaanka 2010-01-24 10:55

Re: Pidgin - Facebook chat plugin
 
hmmmm
sounds a bit scary ..... i might wait for someone to create an app or addon for pidgin

Thanks
TNiga

Palleman 2010-01-25 17:56

Re: Pidgin - Facebook chat plugin
 
Hello there, Maemo community!

As a Communicator user since the dawn of time, I've now replaced my E90 with a N900. I miss the keyboard and the raisable display, but otherwise N900 is a nice little piece. This is my debute in the Maemo community. Say hi.

Anyway, now I've finally managed to get Facebook Chat to work as a plugin to the built-in Contacts/Conversations. As a bonus, I also got MySpace IM to work.

I did it without any coding, just editing or adding configuration entries and files (using other haze plugins as templates). Below is how I did it. The summary does not include basic Linux things like how to traverse the filesystem, how to edit files, how to gain root on N900 and similar. If you don't already know how to do those things, you're probably better off waiting for the protocols to be packaged and added to a repository. And if you know how to do those things, I'm sure that you also know how to make a backup (and how to reflash your phone). You've been warned.

There seems to be a lot of text below, but most of it is cut'n'paste, so use scp or ftp to transfer the files to a computer (with a real keyboard) for easier editing.

1. Download and install the Json package .deb required by the Facebook plugin (couldn't find it in any repository) as mentioned earlier in this thread.

2. Download the Facebook plugin from http://pidgin-facebookchat.googlecod...ookarm-1.64.so and put it in /opt/maemo/usr/lib/purple-2/
(Files for MySpace is already in place, but not enabled in the config files for some reason.)

3. Put a symlink to /opt/maemo/usr/lib/purple-2/libfacebookarm-1.64.so in /usr/lib/purple-2/

4. Edit the file /usr/share/telepathy/managers/haze.manager and add the following sections:
Code:

[Protocol facebook]
param-account=s required
param-password=s required
param-show-history=b
param-use-groups=b
param-hide-self=b
param-set-status-through-pidgin=b
param-get-notifications=b
param-notifications-feed-url=s
param-manage-friends=b
default-show-history=true
default-use-groups=true
default-hide-self=true
default-set-status-through-pidgin=false
default-get-notifications=false
default-notifications-feed-url=
default-manage-friends=false

[Protocol myspace]
param-account=s required
param-password=s required
param-server=s
param-port=i
default-server=im.myspace.akadns.net
default-port=1863

5. Add the file /usr/share/osso-rtcom/facebook.profile containing:
Code:

[Profile]
Manager=haze
Protocol=facebook
IconName = im-facebook
DisplayName = Facebook
ConfigurationUI = haze-plugin
SupportsInvisible = 0
Capabilities = chat-p2p, supports-alias, supports-avatars, supports-roster
VCardDefault = 1
VCardField = X-FACEBOOK
SupportedPresences = offline,available

[Presence available]
Name = Online
IconName = general_presence_online
Type = 2

[Presence offline]
Name = Offline
IconName = general_presence_offline
Type = 1

6. Add the file /usr/share/osso-rtcom/myspace.profile containing:
Code:

[Profile]
Manager=haze
Protocol=myspace
IconName = im-myspace
DisplayName = MySpace
ConfigurationUI = haze-plugin
SupportsInvisible = 0
Capabilities = chat-p2p, supports-alias, supports-avatars, supports-roster
VCardDefault = 1
VCardField = X-MYSPACE
SupportedPresences = offline,available

[Presence available]
Name = Online
IconName = general_presence_online
Type = 2

[Presence offline]
Name = Offline
IconName = general_presence_offline
Type = 1

7. Edit the file /home/user/.rtcom-accounts/accounts.cfg and add the following sections:
Code:

[haze/facebook/yourname_40yourdomain_2eyourtld0]
manager=haze
protocol=facebook
DisplayName=
param-password=yourpassword
param-show-history=true
param-use-groups=true
param-hide-self=true
param-set-status-through-pidgin=false
param-get-notifications=false
param-manage-friends=false
param-account=yourname@yourdomain.yourtld
Profile=facebook
condition=ip-route-1
Enabled=true
AvatarMine=
Nickname=yourname@yourdomain.yourtld
HasBeenOnline=true
NormalizedName=yourname@yourdomain.yourtld
ConnectAutomatically=true

[haze/myspace/yourname_40yourdomain_2eyourtld0]
manager=haze
protocol=myspace
DisplayName=
param-password=yourpassword
param-account=yourname@yourdomain.yourtld
Profile=myspace
condition=ip-route-1
Enabled=true
AvatarMine=
Nickname=yourname@yourdomain.yourtld
HasBeenOnline=true
NormalizedName=yourname@yourdomain.yourtld
ConnectAutomatically=true

Replace yourname, yourdomain and yourtld with the real ones from the email you are using as the Facebook/Myspace login, and replace yourpassword with your real password (in clear text). Make sure to keep _40 (for the @ sign), _2e (for any dots), and the 0 at the end!

8. Create the following directories, make them all owned by user:users and chmod them all to drwx------:
Code:

/home/user/.rtcom-accounts/haze/facebook
/home/user/.rtcom-accounts/haze/facebook/yourname_40yourdomain_2eyourtld0
/home/user/.rtcom-accounts/haze/myspace
/home/user/.rtcom-accounts/haze/myspace/yourname_40yourdomain_2eyourtld0

Same here: Replace yourname, yourdomain and yourtld with the real ones from the email you are using as the Facebook/Myspace login. Make sure to keep _40 (for the @ sign), _2e (for any dots), and the 0 at the end!

9. Reboot

Notes:

1. §7 and §8 might not be needed. After §6, the GUI for adding accounts recognized Facebook and MySpace, but the sign in button didn't work (it got grey and nothing happened). So I added the accounts the hard way. It still didn't work. So I rebooted, and then it worked. It might be that the reboot is enough, and after that you might be able to add accounts using the GUI.

2. I'm not sure that all the configuration entries above are actually doing what they seem to be doing. But I know that they all combined made the plugins work.


Issues:

1. The Facebook plugin only see online friends. But when your friends go offline, at least they stay in your address book (marked as offline). So after you and your friend have been online simultaneously once, they're in there (at least if you merge them or give them a firstname/lastname). Which, by the way, is the same behavior as in Pidgin on a PC, and I believe it's a Facebook Chat limitation.

2. I have 14 MySpace friends, but I only see 8 of them. They're all offline, so it's not for online/offline reasons. It might be due to the other 6 having IM disabled or something?

3. There are no advanced settings for the MySpace account The server and port settings in the configuration entries above aren't there (the view is empty after tapping the advanced settings button). I don't know where I found those two settings, but I remember that it was in some already existing file on the N900. The Facebook advanced settings configuration entries above are taken from the GUI after I got that part working (I just replaced spaces with dashes and made them all lowercase), so no promises that they do what they say..

4. Avatars don't work for MySpace (Facebook avatars and statuses work fine).

I have not tested chatting yet (no, it's true!), so all I know is that the above made my friends appear in the address book, and I can merge them with their existing address book entries. At least that means my N900 address book and Facebook/MySpace can understand eachother to some degree.

The above is taken from my memory. I don't trust my memory, so you should neither. I might have forgot something, or got something wrong. But if you like screwing things up (like me), go ahead and try the above.

Regards
/P

Palleman 2010-01-25 18:02

Re: Pidgin - Facebook chat plugin
 
Oh. forgot:

10. Put icons (48x48 pixels PNG files) in /usr/share/icons/hicolor/48x48/hildon/ and name them im-facebook.png and im-myspace.png

/P

Palleman 2010-01-25 19:10

Re: Pidgin - Facebook chat plugin
 
Now I've tested to actually use the stuff. Someone sent me a message. I got the message. I replied to the message. I got disconnected. It reconnected automatically. I got the same message again. I replied again. I got disconnected.

The above happened about ten times, but then suddenly it started to work. We talked for a while, and everything worked fine.

But now I have trouble using the ordinary Facebook chat and some other Facebook features in Firefox on my laptop. Going offline on the phone makes it work on the laptop again. I've seen the same behavior using the same plugin in Pidgin on a PC (or it might've been some other IM client with some other Facebook plugin).

Palleman 2010-01-25 19:24

Re: Pidgin - Facebook chat plugin
 
According to http://code.google.com/p/pidgin-face...ki/FuturePlans, their thingy supports grabbing birthdays from Facebook. Anyone know how to get that into their birthday fields in the address book? I guess it should be added to capabilities in the profile file, but what is the name of the capability?

Lord Awesome 2010-01-25 19:35

Re: Pidgin - Facebook chat plugin
 
Code:

apt-get install libjson-glib-1.0-0
That will install libjson and save all the messing around.
http://maemo.org/packages/ is a good place to see what's available in the repositories.

b10 2010-01-25 19:44

Re: Pidgin - Facebook chat plugin
 
Quote:

Originally Posted by Palleman (Post 494155)
According to http://code.google.com/p/pidgin-face...ki/FuturePlans, their thingy supports grabbing birthdays from Facebook. Anyone know how to get that into their birthday fields in the address book? I guess it should be added to capabilities in the profile file, but what is the name of the capability?

Doesn't Hermes do this?

Palleman 2010-01-25 19:55

Re: Pidgin - Facebook chat plugin
 
Lord Awesome: Maybe I installed it that way. It wasn't to be found in App Manager, however.

B10: Yup, Hermes does that (although it mixes up people with identical names), but with working Facebook and Twitter plugins to Contacts that can fill in the details, Hermes becomes obsolete.

Palleman 2010-01-25 22:52

Re: Pidgin - Facebook chat plugin
 
Quote:

Originally Posted by Palleman (Post 494006)
4. Edit the file /usr/share/telepathy/managers/haze.manager and add the following sections:
Code:

[Protocol facebook]
param-account=s required
param-password=s required
param-show-history=b
param-use-groups=b
param-hide-self=b
param-set-status-through-pidgin=b
param-get-notifications=b
param-notifications-feed-url=s
param-manage-friends=b
default-show-history=true
default-use-groups=true
default-hide-self=true
default-set-status-through-pidgin=false
default-get-notifications=false
default-notifications-feed-url=
default-manage-friends=false


According to http://launchpadlibrarian.net/29658036/haze.manager, the syntax above is incorrect (I've not tried to change it).

Also, after rebooting, already merged contacts showed up as independent contacts again (with "availability dots"). The merged contacts still had their Facebook IM accounts in their info (but without the "availability dots"). Remerging them did not create duplicate Facebook IM fields, and the "availability dot" returned to the merged contact (i.e. everything looked fine again). I will return with what happens with the remerged contacts after my next reboot.

jaxxstorm 2010-01-25 23:22

Re: Pidgin - Facebook chat plugin
 
Quote:

Originally Posted by Palleman (Post 494006)
Hello there, Maemo community!

As a Communicator user since the dawn of time, I've now replaced my E90 with a N900. I miss the keyboard and the raisable display, but otherwise N900 is a nice little piece. This is my debute in the Maemo community. Say hi.

Anyway, now I've finally managed to get Facebook Chat to work as a plugin to the built-in Contacts/Conversations. As a bonus, I also got MySpace IM to work.

I did it without any coding, just editing or adding configuration entries and files (using other haze plugins as templates). Below is how I did it. The summary does not include basic Linux things like how to traverse the filesystem, how to edit files, how to gain root on N900 and similar. If you don't already know how to do those things, you're probably better off waiting for the protocols to be packaged and added to a repository. And if you know how to do those things, I'm sure that you also know how to make a backup (and how to reflash your phone). You've been warned.

There seems to be a lot of text below, but most of it is cut'n'paste, so use scp or ftp to transfer the files to a computer (with a real keyboard) for easier editing.

1. Download and install the Json package .deb required by the Facebook plugin (couldn't find it in any repository) as mentioned earlier in this thread.

2. Download the Facebook plugin from http://pidgin-facebookchat.googlecod...ookarm-1.64.so and put it in /opt/maemo/usr/lib/purple-2/
(Files for MySpace is already in place, but not enabled in the config files for some reason.)

3. Put a symlink to /opt/maemo/usr/lib/purple-2/libfacebookarm-1.64.so in /usr/lib/purple-2/

4. Edit the file /usr/share/telepathy/managers/haze.manager and add the following sections:
Code:

[Protocol facebook]
param-account=s required
param-password=s required
param-show-history=b
param-use-groups=b
param-hide-self=b
param-set-status-through-pidgin=b
param-get-notifications=b
param-notifications-feed-url=s
param-manage-friends=b
default-show-history=true
default-use-groups=true
default-hide-self=true
default-set-status-through-pidgin=false
default-get-notifications=false
default-notifications-feed-url=
default-manage-friends=false

[Protocol myspace]
param-account=s required
param-password=s required
param-server=s
param-port=i
default-server=im.myspace.akadns.net
default-port=1863

5. Add the file /usr/share/osso-rtcom/facebook.profile containing:
Code:

[Profile]
Manager=haze
Protocol=facebook
IconName = im-facebook
DisplayName = Facebook
ConfigurationUI = haze-plugin
SupportsInvisible = 0
Capabilities = chat-p2p, supports-alias, supports-avatars, supports-roster
VCardDefault = 1
VCardField = X-FACEBOOK
SupportedPresences = offline,available

[Presence available]
Name = Online
IconName = general_presence_online
Type = 2

[Presence offline]
Name = Offline
IconName = general_presence_offline
Type = 1

6. Add the file /usr/share/osso-rtcom/myspace.profile containing:
Code:

[Profile]
Manager=haze
Protocol=myspace
IconName = im-myspace
DisplayName = MySpace
ConfigurationUI = haze-plugin
SupportsInvisible = 0
Capabilities = chat-p2p, supports-alias, supports-avatars, supports-roster
VCardDefault = 1
VCardField = X-MYSPACE
SupportedPresences = offline,available

[Presence available]
Name = Online
IconName = general_presence_online
Type = 2

[Presence offline]
Name = Offline
IconName = general_presence_offline
Type = 1

7. Edit the file /home/user/.rtcom-accounts/accounts.cfg and add the following sections:
Code:

[haze/facebook/yourname_40yourdomain_2eyourtld0]
manager=haze
protocol=facebook
DisplayName=
param-password=yourpassword
param-show-history=true
param-use-groups=true
param-hide-self=true
param-set-status-through-pidgin=false
param-get-notifications=false
param-manage-friends=false
param-account=yourname@yourdomain.yourtld
Profile=facebook
condition=ip-route-1
Enabled=true
AvatarMine=
Nickname=yourname@yourdomain.yourtld
HasBeenOnline=true
NormalizedName=yourname@yourdomain.yourtld
ConnectAutomatically=true

[haze/myspace/yourname_40yourdomain_2eyourtld0]
manager=haze
protocol=myspace
DisplayName=
param-password=yourpassword
param-account=yourname@yourdomain.yourtld
Profile=myspace
condition=ip-route-1
Enabled=true
AvatarMine=
Nickname=yourname@yourdomain.yourtld
HasBeenOnline=true
NormalizedName=yourname@yourdomain.yourtld
ConnectAutomatically=true

Replace yourname, yourdomain and yourtld with the real ones from the email you are using as the Facebook/Myspace login, and replace yourpassword with your real password (in clear text). Make sure to keep _40 (for the @ sign), _2e (for any dots), and the 0 at the end!

8. Create the following directories, make them all owned by user:users and chmod them all to drwx------:
Code:

/home/user/.rtcom-accounts/haze/facebook
/home/user/.rtcom-accounts/haze/facebook/yourname_40yourdomain_2eyourtld0
/home/user/.rtcom-accounts/haze/myspace
/home/user/.rtcom-accounts/haze/myspace/yourname_40yourdomain_2eyourtld0

Same here: Replace yourname, yourdomain and yourtld with the real ones from the email you are using as the Facebook/Myspace login. Make sure to keep _40 (for the @ sign), _2e (for any dots), and the 0 at the end!

9. Reboot

Notes:

1. §7 and §8 might not be needed. After §6, the GUI for adding accounts recognized Facebook and MySpace, but the sign in button didn't work (it got grey and nothing happened). So I added the accounts the hard way. It still didn't work. So I rebooted, and then it worked. It might be that the reboot is enough, and after that you might be able to add accounts using the GUI.

2. I'm not sure that all the configuration entries above are actually doing what they seem to be doing. But I know that they all combined made the plugins work.


Issues:

1. The Facebook plugin only see online friends. But when your friends go offline, at least they stay in your address book (marked as offline). So after you and your friend have been online simultaneously once, they're in there (at least if you merge them or give them a firstname/lastname). Which, by the way, is the same behavior as in Pidgin on a PC, and I believe it's a Facebook Chat limitation.

2. I have 14 MySpace friends, but I only see 8 of them. They're all offline, so it's not for online/offline reasons. It might be due to the other 6 having IM disabled or something?

3. There are no advanced settings for the MySpace account The server and port settings in the configuration entries above aren't there (the view is empty after tapping the advanced settings button). I don't know where I found those two settings, but I remember that it was in some already existing file on the N900. The Facebook advanced settings configuration entries above are taken from the GUI after I got that part working (I just replaced spaces with dashes and made them all lowercase), so no promises that they do what they say..

4. Avatars don't work for MySpace (Facebook avatars and statuses work fine).

I have not tested chatting yet (no, it's true!), so all I know is that the above made my friends appear in the address book, and I can merge them with their existing address book entries. At least that means my N900 address book and Facebook/MySpace can understand eachother to some degree.

The above is taken from my memory. I don't trust my memory, so you should neither. I might have forgot something, or got something wrong. But if you like screwing things up (like me), go ahead and try the above.

Regards
/P

Excellent work, I'll test this tomorrow and let you know how I get on

Palleman 2010-01-26 00:40

Re: Pidgin - Facebook chat plugin
 
Quote:

Originally Posted by Palleman (Post 494526)
Also, after rebooting, already merged contacts showed up as independent contacts again (with "availability dots"). The merged contacts still had their Facebook IM accounts in their info (but without the "availability dots"). Remerging them did not create duplicate Facebook IM fields, and the "availability dot" returned to the merged contact (i.e. everything looked fine again). I will return with what happens with the remerged contacts after my next reboot.

After reboot, the remerged contacts now have two identical Facebook IM fields. They're all offline now, but I guess they'll create yet another independent Facebook contact when they get online? So, merging the Facebookers doesn't seem to work that well...

I merged a bunch of new ones, and remerged a bunch of the reappeared ones. When some of the former remergers gets online, I'll reremerge a couple of them too. Then I'll reboot, and see what happens with the different iterations.

Merging the MySpacers seems to work fine (they don't reappear as independent MySpace contacts, and the MySpace IM fields of the merged contacts keep their "availability dots" (do those dots have a common accepted name?).

I haven't seen any of my 8 MySpace IM friends online since I got it working. In fact, I think I've never seen any of them online in any IM client on any platform ever. Maybe we've got some daring musicians here, with hundreds of active MySpace friends, that can do some MySpace testing?

/P

fsantiago36 2010-01-26 05:12

Re: Pidgin - Facebook chat plugin
 
this works great I needed this.

Palleman 2010-01-27 12:49

Re: Pidgin - Facebook chat plugin
 
A few days ago, a new version of pidgin-facebookchat was packaged for Maemo. Anybody tried that one? http://maemo.org/packages/view/pidgin-facebookchat/

/P

Palleman 2010-01-27 13:10

Re: Pidgin - Facebook chat plugin
 
I installed it, and checked it out in Packageview. Apparently it only installed libfacebook.so in /usr/lib/purple-2/ and some docs/icons, nothing more. No manager or profile stuff.

Now, I have both 1.63 and 1.64 versions in /usr/lib/purple-2/. Since I nowhere in the config files tell it which one to use, I don't know which version it is using now. Anyway, I doubt that it matter regarding the merging problem, but I'll move 1.64 out of there and see if it makes any difference.

nathanielsametz 2010-01-28 15:31

Re: Pidgin - Facebook chat plugin
 
@Palleman if you could get this in a working package up on the repo. you'd get a lot of attention :P lots of help I'd bet too. I'm useless though, I'm happy to use unstable software, report bugs and flash my device if necessary but I don't have any coding skills. my fault I guess.

anywho I'm backing this 100% of the way!

Palleman 2010-01-28 21:59

Re: Pidgin - Facebook chat plugin
 
I removed the libfacebook.so (i.e. the 1.63 version from the devel repository), since it made the Facebook contacts appear as their Facebook ID's and not their names. So, I'm using the 1.64 version downloaded from the pidgin-facebookchat web site. I also did apt-get update and apt-get upgrade, which updated a bunch of packages (although App Manager told me there was nothing to upgrade). Among the packages were a couple of Telepathy and Haze related ones. After a reboot, I rerereremerged a couple of Facebook contacts, and rebooted again. They're still merged. So hopefully the merging problem is solved.

The apt-get upgrade also solved ICQ (haven't been online for a couple of weeks) and YIM/AIM problems ("network error", requiring reboot to get online).

There's still some problem. Going Availability -> Facebook -> Advanced settings show up an empty tab. To get to the advanced settings, I have to disable the account and then go Availability -> Accounts -> Facebook -> Advanced settings. And if I change anything, the changes don't stick when I save them. Going there again, even if going all the way out first, shows the same settings as before I changed something. I think it's because my guess about the settings syntax was wrong (see http://talk.maemo.org/showthread.php?t=39331&page=3#26 ). I'll change that, and see if it makes any difference.

MySpace: Still noone to talk to. Anyone here having a MySpace account, so I can test it?

Nathanielsametz: I don't know how to make packages and upload them to the repository. I might look into it though, or ask the pidgin-facebookchat-packager to package a conversation/contacts version too.

Lord Awesome 2010-01-28 22:56

Re: Pidgin - Facebook chat plugin
 
Quote:

Originally Posted by Palleman (Post 500112)
I also did apt-get update and apt-get upgrade, which updated a bunch of packages (although App Manager told me there was nothing to upgrade).

This might help explain why libraries and some other packages don't show up in the application manager.
Quote:

Originally Posted by Palleman (Post 500112)
Nathanielsametz: I don't know how to make packages and upload them to the repository. I might look into it though, or ask the pidgin-facebookchat-packager to package a conversation/contacts version too.

Jebba's package building howto is a good place to get a feel for packaging (there's also the official Debian way).
Once you're confident with that process it's a case of setting up a garage account, requesting upload access and waiting.
Although asking the pidgin-facebookchat maintainer to merge your work with their efforts is probably easier.

Keep at it. :)

Palleman 2010-01-29 00:02

Re: Pidgin - Facebook chat plugin
 
Quote:

Originally Posted by Palleman (Post 500112)
I think it's because my guess about the settings syntax was wrong (see http://talk.maemo.org/showthread.php?t=39331&page=3#26 ). I'll change that, and see if it makes any difference.

I can't change that, since the file is no more. There's a bunch of other manager files, but haze.manager is gone. find / -name "haze.manager" gives nothing. But the haze protocols still work (including after a couple of reboots).

Lord Awesome: I sent an email to Jonny Lamb.

mike_shenoda 2010-01-29 00:44

Re: Pidgin - Facebook chat plugin
 
i hope to c this so soon as i am so new to Linux and for me it is kinda complicated to do all this commands and as fb chat is so important 2 me and i luv how it can be integrated into the conversations contacts i hope to c it at the respo soon

tonyuk99 2010-01-29 15:06

Re: Pidgin - Facebook chat plugin
 
Managed to get facebook set up in contacts, manged to get online, see other people online, and merge contacts seems fine, but having problems chatting. My friends don't seem to receive messages, and any messages i receive seem to getting received over and over agian.

I also find that when using the facebook plugin with pidgin there seems to be like a 50/50 chance that the message will b sent or received.

Palleman 2010-01-29 21:46

Re: Pidgin - Facebook chat plugin
 
TonyUK99: I had the same problem (see earlier post), but suddenly it started to work. After that, it has happened a couple of more times, but always temporary. Facebook Chat on N900 also keeps logging me out of the browser Facebook on whatever computer I'm at for the moment, and sometimes the other way around.

zerojay 2010-01-30 01:19

Re: Pidgin - Facebook chat plugin
 
Update your IM plugins, people. Facebook Chat is now included in v0.8 of the IM protocol plugins! Congrats to Collabora!

Kajko 2010-01-30 01:33

Re: Pidgin - Facebook chat plugin
 
Quote:

Originally Posted by zerojay (Post 501905)
Update your IM plugins, people. Facebook Chat is now included in v0.8 of the IM protocol plugins! Congrats to Collabora!

True. Thanks.


All times are GMT. The time now is 11:56.

vBulletin® Version 3.8.8