Author Topic: Facebook protocol  (Read 368966 times)

hc13nx2 and 1 Guest are viewing this topic.

Offline šegi

Re: Facebook protocol
« Reply #435 on: 29 08 2015, 17:55:13 »
Thank you very mouch Robyer. grate job  :THUMBS UP:
 

Offline SpinalBlood

Re: Facebook protocol
« Reply #436 on: 29 08 2015, 19:12:56 »
thanks
 

Offline Aztek

Re: Facebook protocol
« Reply #437 on: 01 09 2015, 12:23:11 »
Today i couldnt connect to facebook untill i removed deviceID. Looks like we all are in Database editor pretty often, maybe it would be good to create simple way to reset deviceID? From FB menu or options? It would be useful for casual users :D

Offline Robyer

Re: Facebook protocol
« Reply #438 on: 03 09 2015, 18:04:23 »
Aztek, yeah, that might be useful. I will probably do it if it will be still needed in future.

Yesterday I revised some requests plugin is using (so plugin is using same format as Facebook website). Not all, only basic ones. But still it hopefully might help to lower probability of captchas or other limitations (right now my I can't even send links in messages, as at least 2 other users reported too). Eventually I will check the remaining requests too...
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 Aztek

Re: Facebook protocol
« Reply #439 on: 03 09 2015, 19:52:44 »
Quote
(right now my I can't even send links in messages, as at least 2 other users reported too)
Ah, yes, that happend to me too. My whole facebook account is now suspect, probably because using facebook on miranda. Actually im pretty sure thats because of it, cuz my girlfriend has the same problem.

The worst part is that i dont know how to fix it. When i try to post url on the wall, there is information that i cant do that... with the dead link(!) to 'more information'.
Thanks to google i found link, that helped me previous time - https://www.facebook.com/help/320234818071511/ - "I think I have malware on my computer. What should I do?".
I scanned my computer with Trend Micro scan with no result. My girlfriend managed to run F-Secure scan and it found miranda files suspicious, but that doesnt help either.
Screen: http://s2.ifotos.pl/img/119737898_spxawsr.jpg
I know its not directly connected to facebook plugin, but if someone will find solution, please share it with us :D

Ah, almost forgot, Robyer. You cant send links tho miranda, but ALSO FROM WEBSITE. It will appear in chat window as actually sent, but it will never reach your interlocutor.

Offline Robyer

Re: Facebook protocol
« Reply #440 on: 03 09 2015, 21:24:49 »
probably because using facebook on miranda. Actually im pretty sure thats because of it
Yeah, I'm sorry about that...

You cant send links tho miranda, but ALSO FROM WEBSITE. It will appear in chat window as actually sent, but it will never reach your interlocutor.
Yes, it's actually safer to communicate over Miranda :D as I lost few messages already by sending via browser...

Here is working support/help link for this situation: https://www.facebook.com/help/contact/571927962827151
You can try to write them. But I'm sure it will pass sooner or later by itself...


Btw you should report to F-Secure that it's a false-positive alarm. It's perhaps because of Plugin Updater who is changing DLLs on the fly when updating.
« Last Edit: 03 09 2015, 21:27:05 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 šegi

Re: Facebook protocol
« Reply #441 on: 04 09 2015, 06:08:53 »
Hi,
I want only report a minor issue. All is working fine, when connected to the facebook, I receive unread msgs. That's good, even group chat. But msgs from group chat receive 2 times. Once in group chat window, once in separate windows from each user.
It is not a serious problem.

VersionInfo
Quote
CPU: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz [Intel64 Family 6 Model 42 Stepping 7] [DEP Enabled] [4 CPUs]
Installed RAM: 8127 MBytes
Microsoft Windows 7 Professional Edition, 64-bit Service Pack 1 (build 7601)
Internet Explorer: 9.11.9600.17959 (build 99600)
Administrator privileges: No
OS Languages: (UI | Locale (User/System)) : Slovak/Slovak | Slovak/Slovak
Free disk space on Miranda partition: 244475 MBytes

Miranda NG Version: 0.95.5 alpha build #15167 [running inside WOW64]
Build time: 3 Sep 2015 19:12:56
Profile: C:\Program Files (x86)\Miranda NG\Profiles\segi\segi.dat
Profile size: 14352384 Bytes
Profile creation date: 17 Jun 2015 9:43:46
Language pack: Czech (CZ) [0405]
Service Mode: No

Active Plugins (27):
  AdvaImg.dll v.0.11.0.2 [17 Aug 2015 5:31:56] - Miranda image services
  AVS.dll v.0.95.3.4 [30 Aug 2015 23:42:50] - Avatar service
  Clist_nicer.dll v.0.9.2.4 [3 Sep 2015 19:11:26] - Clist nicer
  Cln_skinedit.dll v.0.0.0.4 [26 Jul 2015 5:32:00] - Skin editor for clist nicer
  CrashDumper.dll v.0.0.5.2 [3 Sep 2015 19:11:48] - Crash dumper
  DbEditorPP.dll v.4.0.1.1 [3 Sep 2015 19:11:48] - Database editor++
  Dbx_mmap.dll v.0.95.3.1 [3 Sep 2015 19:11:18] - Miranda NG mmap database driver
  Facebook.dll v.0.2.11.4 [3 Sep 2015 19:11:44] - Facebook RM
  Fingerprint.dll v.0.1.0.0 [26 Aug 2015 5:30:56] - Fingerprint NG
  HistoryPP.dll v.1.5.1.5 [29 Jun 2015 23:25:08] - History++
  HistoryStats.dll v.0.2.0.4 [3 Sep 2015 19:12:36] - HistoryStats
  ICQ.dll v.0.11.3.4 [3 Sep 2015 19:11:24] - IcqOscarJ protocol
  Import.dll v.0.95.4.2 [3 Sep 2015 19:11:18] - Import contacts and messages
  Jabber.dll v.0.11.0.4 [3 Sep 2015 19:11:28] - Jabber protocol
  mTextControl.dll v.0.8.0.1 [30 Aug 2015 23:43:04] - Miranda text control
  PluginUpdater.dll v.0.1.2.5 [3 Sep 2015 19:11:54] - Plugin updater
  Popup.dll v.2.1.1.11 [3 Sep 2015 19:11:34] - Popup plus
  QuickSearch.dll v.1.4.2.0 [3 Jul 2015 5:44:04] - Quick Search
  SeenPlugin.dll v.5.0.5.2 [3 Sep 2015 19:11:34] - Last seen
  SkypeWeb.dll v.0.12.2.2 [3 Sep 2015 19:12:34] - Skype protocol (Web)
  SmileyAdd.dll v.0.2.3.18 [3 Sep 2015 19:11:36] - SmileyAdd
  SpellChecker.dll v.0.2.6.2 [30 Aug 2015 23:43:18] - Spell checker
  TabSRMM.dll v.3.4.0.11 [3 Sep 2015 19:11:26] - TabSRMM
  Tipper.dll v.2.1.0.7 [30 Aug 2015 23:43:10] - Tipper
  TopToolBar.dll v.0.8.0.4 [17 Aug 2015 5:31:52] - TopToolBar
  UInfoEx.dll v.0.8.5.0 [3 Sep 2015 19:11:42] - User info ext
  Weather.dll v.0.4.0.2 [3 Sep 2015 19:12:00] - Weather

Unloadable Plugins (1):
  DbChecker.dll v.0.0.0.0 [3 Sep 2015 19:11:50] - <unknown>


Weather ini files:
-------------------------------------------------------------------------------
 Accu-Intl-XML.ini v.0.0.6.0 [6 Mar 2013 8:37:28] - AccuWeather Intl
 gismeteo.ini v.2012.05.03 [1 Jan 2015 16:05:24] - GisMeteo
 msn.ini v.2014-11-08 [11 Jan 2015 13:28:42] - MSN Weather (New Layout)
 weatherxml.ini v.0.0.5.3 2009-07-16 [13 May 2015 0:29:20] - WeatherXML
 wetter.ini v.11 - 28.12.2009 [28 Dec 2009 11:34:42] - Wetter.com
 wundergrnd_intl.ini v.2011/02/13 [1 Jan 2015 16:05:24] - Weather Underground Int'l
 wundergrnd_xml.ini v.2011/02/13 [1 Jan 2015 16:05:24] - Weather Underground XML

Protocols and Accounts:
-------------------------------------------------------------------------------
Facebook                 1 - Enabled 0 - Disabled  Loaded
ICQ                      1 - Enabled 0 - Disabled  Loaded
JABBER                   2 - Enabled 1 - Disabled  Loaded
SKYPE                    1 - Enabled 0 - Disabled  Loaded
MetaContacts             1 - Enabled 0 - Disabled  Loaded
SkypeClassic             0 - Enabled 1 - Disabled  Not Loaded
Weather                  1 - Enabled 0 - Disabled  Loaded
WhatsApp                 0 - Enabled 1 - Disabled  Not Loaded

Icon Packs:
-------------------------------------------------------------------------------
 Avonlea Light.icl [21 Mar 2012 18:07:17]
 Flags_icons.dll [30 Aug 2015 23:43:40]
 Fp_icons.dll [26 Aug 2015 5:30:54]
 gtalk-gmailcoloredballs-v2.dll [7 Sep 2005 23:44:30]
 HistoryPP_icons.dll [26 Jul 2015 5:42:40]
 proto_ball1.dll [4 Sep 2005 16:52:06]
 proto_conn_facebook.dll [5 Mar 2011 21:37:52]
 Proto_Facebook.dll [3 Sep 2015 19:11:44]
 proto_gtalk.dll [24 Oct 2012 10:12:26]
 Proto_ICQ.dll [3 Sep 2015 19:11:44]
 Proto_Jabber.dll [3 Sep 2015 19:11:44]
 Proto_MetaContacts.dll [3 Sep 2015 19:12:20]
 Proto_Skype.dll [3 Sep 2015 19:12:28]
 Proto_Weather.dll [3 Sep 2015 19:11:58]
 TabSRMM_icons.dll [3 Sep 2015 19:11:54]
 UInfoEx_icons.dll [3 Sep 2015 19:11:38]
 xStatus_ICQ.dll [3 Sep 2015 19:11:22]
 xStatus_Jabber.dll [3 Sep 2015 19:11:22]
[close]
 

Offline Robyer

Re: Facebook protocol
« Reply #442 on: 04 09 2015, 07:55:54 »
Not sending links update: Yesterday I used mentioned FB support/help link and send its form, and today I can send links again. Still with captcha, but better than nothing :-)

I'm not sure whether it's related to the support form or not. Do you others still have the problem with sending links?

----

šegi, thanks for report. I'll look at it later.
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 Robyer

Re: Facebook protocol
« Reply #443 on: 04 09 2015, 22:21:59 »
Not sending links update: Now I'm sending links even without captcha! :-)

And I'm still interested in your experiences from last days...
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 Corak

Re: Facebook protocol
« Reply #444 on: 05 09 2015, 01:51:11 »
Hi, Robyer.
Got Some trouble on last commits of some protocol (skypeweb or facebook) -- when connecting/re-connecting - it can use the WHOLE CPU time nearly for a minute (and repeating this time after time when reconnecting) (seems going to ethernal cycle) and cannot exit normally from Miranda process - have to terminate it's process to restart it.
 The same problem was when I tried to connect on facebook protocol with openssl (it even not connected just freezed) - but now it's happens on netlib too. It started to happen from 4 of september. So commit was made on 3 september or earlier.
This trouble manifests not always on netlib (mostly it normal). But always on openssl, so better to test it and fix it there. Maybe the core of problem not excacly in your plugin, but it manifests only on it too. So I just want to find it and fix.
OS: Windows XP SP3.
« Last Edit: 05 09 2015, 03:23:33 by Corak »
 

Offline Robyer

Re: Facebook protocol
« Reply #445 on: 05 09 2015, 06:15:01 »
Corak, I don't see any change related to freezing at login in last week.

I can reproduce the problem with OpenSSL, but I can't fix it. (Was looking at it for more than hour.) Weird was that when I used Fiddler (for sniffing http communication - with enabled proxy in Miranda to go through Fiddler) it worked even with OpenSSL.

But I don't have problems with netlib - are you sure it's Facebook's problem? You better isolate the problem by having in one Miranda enabled only SkypeWeb, in second Facebook, or similar.
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 Robyer

Re: Facebook protocol
« Reply #446 on: 05 09 2015, 06:34:54 »
when connected to the facebook, I receive unread msgs. That's good, even group chat. But msgs from group chat receive 2 times. Once in group chat window, once in separate windows from each user.

Should be fixed in tomorrow build.
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 Corak

Re: Facebook protocol
« Reply #447 on: 05 09 2015, 07:16:19 »
Yes, i isolated (disabled fb) and found that seems it's only skypeweb related more.
memory stack when cpu used:


But it's almost analogic problem to what happened with openssl+fb. Just thought it can be fixed somehow in the same way.. But ok, it's not manifesting last 8 hours of miranda using. Maybe I will find it finally with visual studio
« Last Edit: 05 09 2015, 07:35:36 by Corak »
 

Offline Sunlight7

Re: Facebook protocol
« Reply #448 on: 18 09 2015, 17:57:34 »
Hello!

I just added Facebook Protocol to Miranda NG and tried to login, but it fails every time.
It keeps on Status Connecting to Facebook.

When I close Miranda it tooks a few Seconds, then I hear the Sound of a Error Message and Miranda crashes.

I'm on the latest Version, Nightly Builds.
Please help me how to fix it.

Thx and Greetings,
Sun

Netlog.txt
Spoiler
[19:45:39 39D0] Info-Update thread starting.
[19:45:39 110C] [Facebook_1] *** GetMyAvatar
[19:45:39 110C] [Facebook_1] === Beginning SetStatus process
[19:45:39 49EC] [Facebook_1] [18.9.2015] Using Facebook Protocol RM 0.2.11.4
[19:45:39 49EC] [Facebook_1] *** Beginning SignOn process
[19:45:39 49EC] [Facebook_1] *** Negotiating connection with Facebook
[19:45:39 49EC] [Facebook_1]  >> Entering login()
[19:45:39 49EC] [Facebook_1] @@@ Sending request to 'https://mbasic.facebook.com/profile.php?v=info'
[19:45:39 49EC] [Facebook_1] Connection request to mbasic.facebook.com:443 (Flags 11)....
[19:45:39 49EC] [Facebook_1] (00BB1F00) Connecting to server mbasic.facebook.com:443....
[19:45:40 49EC] [Facebook_1] (00BB1F00) Connecting to ip 31.13.84.8:443 ....
[19:45:40 49EC] [Facebook_1] (336) Connected to mbasic.facebook.com:443
[19:45:40 49EC] [Facebook_1] (336 mbasic.facebook.com) Starting SSL negotiation
[19:45:42 110C] SSL established with XXX-SHA256
[19:45:42 49EC] [Facebook_1] (336 mbasic.facebook.com) SSL negotiation successful
[19:45:42 508C] M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 1
ST: urn:schemas-upnp-org:service:WANIPConnection:1

[19:45:42 508C] M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 1
ST: urn:schemas-upnp-org:service:WANPPPConnection:1

[19:45:42 508C] M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 1
ST: urn:schemas-upnp-org:service:WANIPConnection:1

[19:45:42 508C] M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 1
ST: urn:schemas-upnp-org:service:WANPPPConnection:1

[19:45:42 49EC] [Facebook_1] @@@ Got response with code 302
[19:45:42 49EC] [Facebook_1] @@@ Sending request to 'https://login.facebook.com/login.php?login_attempt=1'
[19:45:42 49EC] [Facebook_1] Connection request to login.facebook.com:443 (Flags 11)....
[19:45:42 49EC] [Facebook_1] (00B82148) Connecting to server login.facebook.com:443....
[19:45:43 49EC] [Facebook_1] (00B82148) Connecting to ip 31.13.84.8:443 ....
[19:45:43 49EC] [Facebook_1] (464) Connected to login.facebook.com:443
[19:45:43 49EC] [Facebook_1] (464 login.facebook.com) Starting SSL negotiation
[19:45:44 508C] M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 1
ST: urn:schemas-upnp-org:service:WANIPConnection:1

[19:45:44 508C] M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 1
ST: urn:schemas-upnp-org:service:WANPPPConnection:1

[19:45:44 508C] M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 1
ST: urn:schemas-upnp-org:service:WANIPConnection:1

[19:45:44 508C] M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 1
ST: urn:schemas-upnp-org:service:WANPPPConnection:1

[19:45:44 110C] SSL established with XXX-SHA256
[19:45:44 49EC] [Facebook_1] (464 login.facebook.com) SSL negotiation successful
[19:45:45 49EC] [Facebook_1] (00B82148:464) Connection closed internal
[19:45:45 49EC] [Facebook_1] (00B82148:4294967295) Connection closed
[19:45:45 49EC] [Facebook_1] @@@ Got response with code 302
[19:45:45 49EC] [Facebook_1]     Got self user id: XXX
[19:45:45 49EC] [Facebook_1]  << Quitting login()
[19:45:45 49EC] [Facebook_1]  >> Entering home()
[19:45:45 49EC] [Facebook_1] @@@ Sending request to 'https://mbasic.facebook.com/editprofile.php?edit=current_city&type=basic'
[19:45:45 508C] UPnP Gateway detected 0, Control URL:
[19:45:45 49EC] [Facebook_1] @@@ Got response with code 200
[19:45:45 49EC] [Facebook_1]     Got self dtsg
[19:45:45 49EC] [Facebook_1] @@@ Sending request to 'https://mbasic.facebook.com/profile.php?v=info'
[19:46:11 110C] [Facebook_1] === Beginning SetStatus process
[19:46:11 110C] [Facebook_1] === Beginning SetStatus process
[19:46:16 110C] Killing thread F:\Programme\Miranda NG\Plugins\Facebook.dll:00001A60 (14F1BCB2)
[19:46:16 110C] Killing thread F:\Programme\Miranda NG\Plugins\Facebook.dll:000049EC (14F1BCB2)
[19:46:16 110C] Killing thread F:\Programme\Miranda NG\Plugins\Facebook.dll:00004B88 (14F1BCB2)
[19:46:16 110C] [Facebook_1] === Beginning SetStatus process
[19:46:16 109C] [Facebook_1] ### Beginning SignOff process
[19:46:16 109C] [Facebook_1]  >> Entering logout()
[19:46:16 109C] [Facebook_1] @@@ Sending request to 'https://www.facebook.com/logout.php?'
[19:46:16 109C] [Facebook_1] (00BB1F00:336) Connection closed internal
[19:46:16 109C] [Facebook_1] src\netlibopenconn.cpp 727: connect() failed (0)
[19:46:16 109C] [Facebook_1] !!! No response from server (time-out)
[19:46:21 110C] Killing object thread F:\Programme\Miranda NG\Plugins\Facebook.dll:0000109C
[close]
 

Offline Robyer

Re: Facebook protocol
« Reply #449 on: 18 09 2015, 18:35:29 »
Sunlight7, do you use OpenSSL plugin? If so, disable it. It's buggy and can't work with Facebook or SkypeWeb (or other https-based protocols) right now.
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.
 
The following users thanked this post: Sunlight7