Author Topic: Facebook protocol  (Read 517492 times)

0 Members and 5 Guests are viewing this topic.

Offline chlopec

Re: Facebook plugin
« Reply #75 on: 12 04 2014, 21:03:56 »
I asked ghazan to provide me a hook when message is marked as read in Miranda so I could mark it at that time marked as read in Facebook. So hopefully it will be "fixed" in some future version, but I'm not sure when yet :)

Would it be possible to make an optional "seen" button that manually marks the message as read when using the "keep unread on server" switch? Even if the thing I quoted is implemented, I'd LOVE to be able to read some people's messages without having to immediately respond, because (as we probably all know) some people tend to freak out if you don't  ;D .. And maybe make the "keep unread on server" switch a part of individual contact's settings = selectable for individual contacts?
 

Offline Robyer

Odp: Facebook plugin
« Reply #76 on: 13 04 2014, 13:06:09 »
chlopec, http://svn.miranda-ng.org/miranda-ng/trunk/protocols/FacebookRM/docs/facebook%20-%20readme.txt

KeepUnread is already supported on per contact basis, but you need to set it manually. There is no switch in gui for that.

Quote
Would it be possible to make an optional "seen" button that manually marks the message as read when using the "keep unread on server" switch?
Everything is possible, but I won't do this. It is useless. Instead of pressing "seen" button just send message to that contact ;-) (or open it and read it in browser)
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline SpinalBlood

Re: Facebook plugin
« Reply #77 on: 13 04 2014, 22:05:32 »
Hi, I have 2 questions:

- As an user posted in this topic earlier, I get offline messages as a group chat. I'm using the final build; I didn't try yet the development version; is it the only way to fix it? I wonder if I can overwrite the miranda folder or I have to move the profile and install on a different folder?

- There is an option to use local for received messages; but when a contact reads my message, the time displayed is different (I guess it's the same facebook time like when if I disabled the option I mentioned before).
Is it possible to convert the read time displayed as the local time like it's done for the received messages? (then possibly taking into account to do that if the local time received message option is active)

Thanks

VersionInfo
CPU: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz [Intel64 Family 6 Model 58 Stepping 9] [DEP Enabled] [4 CPUs]
Installed RAM: 3791 MBytes
Operating System: Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 (build 7601)
Internet Explorer: 9.11.9600.17041 (build 99600)
Administrator privileges: Yes
OS Languages: (UI | Locale (User/System)) : Italian/Italian | Italian/Italian
Free disk space on Miranda partition: 107004 MBytes

Miranda NG Version: 0.94.9 final build #8010 x64
Build time: 2 Feb 2014 19:53:08
Profile: C:\Program Files\Miranda NG\Profiles\Test\Test.dat
Profile size: 655360 Bytes
Profile creation date: 27 Mar 2014 0:46:45
Language pack: No language pack installed
Service Mode: No

Active Plugins (15):
  AdvaImg.dll v.0.11.0.1 [2 Feb 2014 19:45:10] - Miranda image services
  AVS.dll v.0.11.1.1 [2 Feb 2014 19:43:50] - Avatar service
  Clist_modern.dll v.0.9.0.12 [2 Feb 2014 19:47:44] - Modern contact list
  CrashDumper.dll v.0.0.4.22 [2 Feb 2014 18:49:02] - Crash dumper
  Dbx_mmap.dll v.0.11.0.2 [2 Feb 2014 19:43:56] - Miranda NG mmap database driver
  Facebook.dll v.0.2.2.1 [2 Feb 2014 18:47:02] - Facebook RM
  HistoryPP.dll v.1.5.1.5 [2 Feb 2014 1:26:28] - History++
  ICQ.dll v.0.11.1.0 [2 Feb 2014 19:44:48] - IcqOscarJ Protocol
  Import.dll v.0.11.0.1 [2 Feb 2014 19:43:50] - Import contacts and messages
  MSN.dll v.0.11.0.2 [2 Feb 2014 19:45:00] - MSN Protocol
  PluginUpdater.dll v.0.1.1.7 [2 Feb 2014 19:49:26] - Plugin updater
  Skype.dll v.0.11.0.2 [2 Feb 2014 18:52:35] - Skype Protocol
  TabSRMM.dll v.3.3.0.3 [2 Feb 2014 19:44:26] - TabSRMM
  TopToolBar.dll v.0.8.0.3 [2 Feb 2014 18:47:20] - TopToolBar
  Watrack.dll v.0.0.6.12 [2 Feb 2014 18:53:50] - Winamp Track

Unloadable Plugins (1):
  DbChecker.dll v.0.0.0.0 [2 Feb 2014 19:49:14] - <unknown>


Protocols and Accounts:
-------------------------------------------------------------------------------
Facebook                 1 - Enabled 0 - Disabled  Loaded
ICQ                      0 - Enabled 0 - Disabled  Loaded
MSN                      1 - Enabled 0 - Disabled  Loaded
SKYPE                    1 - Enabled 0 - Disabled  Loaded

Icon Packs:
-------------------------------------------------------------------------------
 HistoryPP_icons.dll [2 Feb 2014 18:49:46]
 Proto_Facebook.dll [2 Feb 2014 18:47:22]
 Proto_ICQ.dll [2 Feb 2014 19:47:26]
 Proto_mRadio.dll [2 Feb 2014 18:50:10]
 Proto_MSN.dll [2 Feb 2014 19:47:28]
 Proto_Skype.dll [2 Feb 2014 18:51:54]
 TabSRMM_icons.dll [2 Feb 2014 19:49:48]
 Toolbar_icons.dll [2 Feb 2014 19:47:36]
 Watrack_buttons.dll [2 Feb 2014 18:53:50]
 Watrack_icons.dll [2 Feb 2014 18:53:50]
 xstatus_icq.dll [2 Feb 2014 19:45:10]
[close]
« Last Edit: 21 04 2014, 05:17:52 by Apollo2k4 »
 

Offline Robyer

Re: Facebook plugin
« Reply #78 on: 14 04 2014, 08:12:09 »
SpinalBlood,

1) Yes, you need development version to make it work. You can simply change source of updates in Options / Services / Plugin updater to development and then let it update.

2) You're right. I just commited a fix (now it respects that local timestamp setting also for read receipts) :-)
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline SpinalBlood

Re: Facebook plugin
« Reply #79 on: 14 04 2014, 10:34:43 »
Cool, thanks
 

Offline chlopec

Re:Facebook plugin
« Reply #80 on: 14 04 2014, 13:01:43 »
KeepUnread is already supported on per contact basis, but you need to set it manually. There is no switch in gui for that.
Thank you!
Everything is possible, but I won't do this. It is useless. Instead of pressing "seen" button just send message to that contact ;-) (or open it and read it in browser)
I woudn't say it's useless at all, even facebook has a "mark as read/unread" button and here (in combination with KeepUnread) a button with that functionality would be even more useful. I know it's kind of a niche thing, but that button would allow you to use facebook in miranda with keepUnread and WITHOUT the need to ever open the website, or having to have the last word in every conversation  ;D (at this point you pretty much have to, otherwise the message will keep coming again after every reconnection). I understand it's in no way a priority, just a little feature suggest :)
 

Offline Robyer

Re: Facebook plugin
« Reply #81 on: 14 04 2014, 13:21:24 »
(at this point you pretty much have to, otherwise the message will keep coming again after every reconnection)

Actually I fixed this few minutes ago, so no such message will keep coming back  ;)

So do you still really need that button? :)
« Last Edit: 14 04 2014, 13:23:33 by Robyer »
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline chlopec

Re: Facebook plugin
« Reply #82 on: 14 04 2014, 14:54:58 »
Actually I fixed this few minutes ago
Anything that prevents "unread" messages from coming over and over again makes me a super happy user!  ;D
 

Sinon

  • Guest
Re: Facebook plugin
« Reply #83 on: 14 04 2014, 15:24:22 »
SpinalBlood,

1) Yes, you need development version to make it work. You can simply change source of updates in Options / Services / Plugin updater to development and then let it update.

I just tried updating to the developer version to get rid of these null chat rooms, but Miranda won't even start with that version. :( When will it be released as a stable build?
 

Offline Robyer

Re:Facebook plugin
« Reply #84 on: 14 04 2014, 15:38:38 »
Anything that prevents "unread" messages from coming over and over again makes me a super happy user!  ;D
I'm glad to hear that  :D


I just tried updating to the developer version to get rid of these null chat rooms, but Miranda won't even start with that version. :( When will it be released as a stable build?

Obviously you didn't tried enough :)

You must update ALL plugins and core to development version, NOT only Facebook plugin. Then it must work. Or also try to manually download nightly version from website and replace your Miranda after your not working update.

Next stable might be released in a month or so. When all important bugs are fixed.
« Last Edit: 14 04 2014, 15:44:38 by Robyer »
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline Exadith

  • Newbie
  • *
  • Posts: 6
  • Country: pl
Re: Facebook plugin
« Reply #85 on: 17 04 2014, 06:00:05 »
Anything that prevents "unread" messages from coming over and over again makes me a super happy user!  ;D



I'm glad to hear that  :D



I think that this feature could be good option for ppl who use facebook chat on few devices...

For example : i have messenger on my phone and tablet.  when i use miranda to talk by fb chat - it grab messages and these messages dont append on the mobile devices - its good ! but same issue, when i dont answer to user ----> chat is marked as unread and on site or mobile application i need to open conversation and check that i read it

I dont know how much time this feature will  take from your life ( :D ) but if this option is something like few lines code , please add it ^^

it will be really helpful
 

Offline Robyer

Re: Facebook plugin
« Reply #86 on: 17 04 2014, 06:34:56 »
Exadith, hmm, ok, I'll think about it... ??? ... ok, I'll add it in some future version :)
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 

Offline fleycds

  • Newbie
  • *
  • Posts: 1
Re: Facebook plugin
« Reply #87 on: 18 04 2014, 19:18:04 »
Hi,

is there a way to synchronize the chat history between FB and Miranda? Things I have sent via browser or phone don't show up in my Miranda history. Could that be fixed? Or do I just have to activate some option I overlooked?

Sinon, this is not possible (yet). But maybe I'll implement it in the future.

Would absolutely love to see this feature. Now it's beginning to become more and more common to use facebook on multiple devices. I don't use facebook chat for personal use only. History is kinda important for me:)

This plugin is a great piece of code, keep up the good work!
 

Offline SpinalBlood

Re: Facebook plugin
« Reply #88 on: 19 04 2014, 17:48:11 »
A curiosity: sometimes some facebook contacts appears in the contact list in a trasparent mode. But sometimes they aren't.

Is it a facebook function or rather a clist_nicer function? I couldn't find such an option...
 

Offline Robyer

Odp: Facebook plugin
« Reply #89 on: 19 04 2014, 19:42:52 »
SpinalBlood, it's a clist's function - "Dim idle contacts". And they are transparent because they are idle :-)
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.