Miranda IM

Go Back   Miranda IM - Forums > Development > Protocols

Protocols For protocol developers and related discussion

Reply
 
Thread Tools Display Modes

  #1  
Old 31 May 2009, 2:00 PM
jarvis jarvis is offline
Miranda Wizard
 
Join Date: August 2006
Location: Czech Republic
Posts: 190
Facebook Protocol Discussion


TEST BUILD 0.0.0.7 DEBUG UNICODE [BUILD #562]
Download: http://code.google.com/p/eternityplu...ok-0.0.0.7.zip
Issue/Bug Tracker: http://code.google.com/p/eternityplugins/issues/list (please see the example issue report and if possible, provide Labels! :), too)
  • Debug build
  • Includes proto icons from Addons
  • REQUIRES Visual C/C++ 8 Runtime libraries installed as I'm currently not building statically nor in Visual C++ 6
  • I recommend NOT being logged in a Facebook chat via browser etc., it should work together, but when you turn off web chat and connect both Miranda and web browser at the same time, you should be able to use them together pretty fine
  • I also RECOMMEND using Crash Dumper plug-in along with this plug-in, it should be pretty stable, but I would like to know when some error occurs. To make a good crash report, you must include all the files from the archive in your Plugins folder, otherwise the report is useless! Also, you should provide the .mdmp file, as .txt one is often useless.

Changelog for 0.0.0.7:
  • Fixed occasional blocking crash on startup caused by missing personal avatar file
  • Reworked contacts parsing
  • Thread-safe buddy loop
  • Featuring notifications, including Live Feed
  • More encoding options in HTTP traffic
  • More proper parsing of homepage
  • Renamed html_special_chars_decode to special_expressions_decode
  • Enhanced threads killing and locking
  • Improved sign-off
  • Fixed broken keep-alive hadling
  • Rewritten contacts update logic
  • Redesigned "What's on my mind" dialog
  • Fixed some JSON parser bugs
  • Fixed default user-agent string
  • Fixed contacts status to be loaded before protocol is marked online
  • Simplified number-to-string convertor definitions

Known issues for 0.0.0.7:
  • Setting status via Miranda core still has issues with codepage conversions, please use Mind dialog instead

All-time Not-issues:
  • Status messages are not set properly when you set them to often — server limit requires captcha confirmation when you flood
  • Being disconnected sometimes — server fault, mostly caused by server time-out side to side with restrictive connection politics — enhancements are on the go
  • Away status is not applicable. FB doesn't support any controllable Away status

original post:
Quote:
Hi,
since 2 or 3 days ago, I started basic works on implementation of a Facebook protocol. I hope I'll have enough time/luck/skills in next weeks to move this project some acceptable direction, nowadays I play with basic things including requests to the Facebook REST server, implementing some basic utils (code management, signature generation and more).

What I'd like to say right now at this stage -- any help from your side is welcome :) If you have any concrete experience with Facebook, its API, or even if you already made some kind of implementation, I would be very glad if you'd tell me. C/C++, PHP code snippets would be fine :) Same as links to some already-done projects (mainly some example of already working messaging support would be fine, this would help me very much)

Current stage -- ideas, planning:
- programming language: mixture of C/C++
- Facebook data requesting: REST server (I also wondered about parsing an HTML session, not regular, but mobile one at m.facebook.com, but only if it would be necessary)
- Miranda compatibility: 0.8+ (I'd like to throw away back compatibility because of lots of stuff present in 0.7 and 0.8 branches -- accounts, core XML parser, core MD5 etc.)

Planned features:
Synchronizing friends
Getting/setting own "What's on my mind" status
Viewing friends' statuses
Sending/receiving instant messages (not regular inbox/sent messages most probably)
Popup events
Updater support
Friends' avatars
Setting own avatar/other info


PS: Please, don't feed this topic with tons of "thank you'n'wow" replies, I'd prefer to leave it objective as much as possible. Thanks for understanding :)

Last edited by jarvis; 21 Jan 2010 at 6:29 PM. Reason: update
Reply With Quote

  #2  
Old 4 Jun 2009, 5:43 AM
CoZmicShReddeR CoZmicShReddeR is offline
Rookie
 
Join Date: March 2009
Location: MI, USA.
Posts: 2
Just want to say thanks cannot wait to see this get completed!
Reply With Quote

  #3  
Old 4 Jun 2009, 10:16 PM
vlatko vlatko is offline
Miranda Wizard
 
Join Date: June 2007
Location: Skopje, Macedonia
Posts: 150
Will it be possible to migrate from the current nimus-jabber contacts to the new protocol easily? My miranda db is already loaded with hunderds of FB people. For start you can just go with basic chat. View online/away status and viewing avatars...all else is extra, not necessary. Also "view FB profile" will be fine...it is very easy.

There are one/few similar topics on FB here on this forum. I hope you are aware of it, there are some ideas there already.

I already have protocol icons for this in Tango style ;)
Reply With Quote

  #4  
Old 6 Jun 2009, 9:02 PM
Standa L Standa L is offline
Rookie
 
Join Date: April 2009
Posts: 1
Sounds great! Držim palce ;)
Reply With Quote

  #5  
Old 7 Jun 2009, 2:44 PM
Behemoth Behemoth is offline
Miranda Wizard
 
Join Date: December 2005
Location: Kaiserslautern, Germany
Posts: 200
I would second this motion.. I think it will be relatively easy, because the Jabber ID (jid) always starts with the Facebook Code Number like
1479******@facebook.nimbuzz.com, a filter for that should be easy to implement...
If u need help about more details in the Database, I would volunteer to help..

Quote:
Originally Posted by vlatko View Post
Will it be possible to migrate from the current nimus-jabber contacts to the new protocol easily? My miranda db is already loaded with hunderds of FB people. For start you can just go with basic chat. View online/away status and viewing avatars...all else is extra, not necessary. Also "view FB profile" will be fine...it is very easy.

There are one/few similar topics on FB here on this forum. I hope you are aware of it, there are some ideas there already.

I already have protocol icons for this in Tango style ;)
Reply With Quote

  #6  
Old 7 Jun 2009, 10:16 PM
TucknDar TucknDar is offline
Rookie
 
Join Date: March 2008
Location: Oslo, Norway
Posts: 13
Sounds promising! Let us know when/if you need testers.

I'm sure your aware of it, but if not, there's a Facebook plugin for Pidgin, and sources can be found here: http://code.google.com/p/pidgin-face...downloads/list

I'm not a coder, so don't know if that was helpful or not, but I suppose it couldn't hurt ;)
Reply With Quote

  #7  
Old 17 Jun 2009, 3:16 PM
| l ll l |l ll lll | | l ll l |l ll lll | is offline
Member
 
Join Date: July 2006
Posts: 39
are you going to relaese an alphaversion soon?
Reply With Quote

  #8  
Old 19 Jun 2009, 5:44 PM
Chudilo Chudilo is offline
Miranda Wizard
 
Join Date: August 2006
Location: New York
Posts: 220
I might be able to help you out on the REST side of things.
Reply With Quote

  #9  
Old 22 Jun 2009, 10:50 PM
jessica.burns jessica.burns is offline
Rookie
 
Join Date: June 2009
Posts: 1
yaaayy thank you! do you have an idea when it'll be complete?
Reply With Quote

  #10  
Old 22 Jun 2009, 11:47 PM
amd123 amd123 is offline
Miranda Wizard
 
Join Date: March 2005
Location: Finland
Posts: 202
I guess he'll inform us when he has something to inform ;) keep it cool guys.
Reply With Quote
Reply

Bookmarks

Tags
0.8, 0.9, facebook, protocol

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +1. The time now is 7:27 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.