Active Topics

 



Notices


Reply
Thread Tools
darrennewman@sky.com's Avatar
Posts: 97 | Thanked: 18 times | Joined on Jan 2008 @ UK
#11
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

Last edited by darrennewman@sky.com; 2010-01-06 at 17:23.
 

The Following User Says Thank You to darrennewman@sky.com For This Useful Post:
Posts: 32 | Thanked: 4 times | Joined on Jan 2010
#12
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's Avatar
Posts: 97 | Thanked: 18 times | Joined on Jan 2008 @ UK
#13
Originally Posted by jaxxstorm View Post
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
 
Posts: 186 | Thanked: 16 times | Joined on Nov 2009 @ Austin TX
#14
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?
 
Posts: 52 | Thanked: 3 times | Joined on Jan 2010 @ Melbourne, Australia
#15
+ 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!

Last edited by nathanielsametz; 2010-01-23 at 15:15. Reason: fudged it
 

The Following User Says Thank You to nathanielsametz For This Useful Post:
Posts: 436 | Thanked: 298 times | Joined on Jan 2010 @ England
#16
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?
__________________
SEE THE WIKI.MAEMO ALARMED PAGE AND FIND NEW, COOL COMMANDS AND IF YOU HAVE ANY COOL/AWESOME/USEFUL COMMANDS YOURSELF PLEASE ADD THEM. http://wiki.maemo.org/ALARMED_Commands_List
If you dont have a wiki.maemo account and cant be bothered to create one you can inbox me your commands and I will add them for you.
 
Posts: 353 | Thanked: 263 times | Joined on Dec 2009 @ Finland
#17
Originally Posted by fraaaaanka View Post
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.

Originally Posted by fraaaaanka View Post
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!!!

Originally Posted by fraaaaanka View Post
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.
 

The Following User Says Thank You to TNiga For This Useful Post:
Posts: 436 | Thanked: 298 times | Joined on Jan 2010 @ England
#18
hmmmm
sounds a bit scary ..... i might wait for someone to create an app or addon for pidgin

Thanks
TNiga
__________________
SEE THE WIKI.MAEMO ALARMED PAGE AND FIND NEW, COOL COMMANDS AND IF YOU HAVE ANY COOL/AWESOME/USEFUL COMMANDS YOURSELF PLEASE ADD THEM. http://wiki.maemo.org/ALARMED_Commands_List
If you dont have a wiki.maemo account and cant be bothered to create one you can inbox me your commands and I will add them for you.
 
Posts: 123 | Thanked: 33 times | Joined on Jan 2010 @ Stockholm
#19
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

Last edited by Palleman; 2010-01-25 at 18:51.
 

The Following 5 Users Say Thank You to Palleman For This Useful Post:
Posts: 123 | Thanked: 33 times | Joined on Jan 2010 @ Stockholm
#20
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
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:57.