Author Topic: Facebook protocol  (Read 370545 times)

0 Members and 1 Guest are viewing this topic.

Offline riki

Re: Facebook protocol
« Reply #585 on: 01 09 2016, 15:16:56 »
... what!?!? ;D ;D
 

Offline Robyer

Re: Facebook protocol
« Reply #586 on: 01 09 2016, 15:27:14 »
... what!?!? ;D ;D
Is that amazement or having no idea what I'm talking about (did you miss my ':-P' smiley in previous post?)? :D
« Last Edit: 01 09 2016, 16:32:02 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 riki

Re: Facebook protocol
« Reply #587 on: 01 09 2016, 17:22:15 »
Amazement and a big THANK YOU!  ;D ;D
 

Offline šegi

Re: Facebook protocol
« Reply #588 on: 05 09 2016, 13:00:02 »
Uffff it's looking great :)
it's there some limits for loading whole history?
 

Offline Robyer

Re: Facebook protocol
« Reply #589 on: 05 09 2016, 14:37:56 »
it's there some limits for loading whole history?
There is no hardcoded limit in plugin, and I'm not aware of any limit on FB server. It does the same requests as when you open messages history on website and keep scrolling up (which loads older and older messages).

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 #590 on: 15 09 2016, 07:58:17 »
Since I have some more time and energy for Miranda NG and Facebook protocol lately...

Are there any important issues or feature requests that you (users) would like to have resolved/implemented in Facebook protocol?
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 protocol
« Reply #591 on: 16 09 2016, 21:31:25 »
I was wondering about the mobile status/icon for mobile users; in the past it came in handy to have that blue icon to understand if the user was on mobile or not; lately it became unreliable from facebook side; is it like that again or facebook may have changed something in the meanwhile? Just wondering

Lately the plugin is working fine, the biggest, very annoying issues were when some messages were not received (compared to the website), or when the captcha always appeared for every single link sent. But they aren't happening since a while now. As long as these things don't change it is good enough, imho ;D
« Last Edit: 16 09 2016, 21:33:22 by SpinalBlood »
 

Offline Goraf

Odp: Facebook protocol
« Reply #592 on: 17 09 2016, 06:08:28 »
Do you remember that issue when protocol returns to its previous status after some short time if you turn it off? Do you think it is more likely KeepStatus problem or sth on FB side can be made?
 

Offline šegi

Re: Facebook protocol
« Reply #593 on: 20 09 2016, 17:19:29 »
Hi,
I have some issue with group chat. Every time when I connect to facebook, miranda open all group chats. New and also that I was readed in miranda but it's not set as read on facebook.
It's because the group chat don't have history and therefore protocol does not recognize new and "old" messages? Or it's some issue on my side?
Even, I send some message to group chat, it's always recognize as new messages.
 

Offline Robyer

Re: Facebook protocol
« Reply #594 on: 20 09 2016, 18:31:37 »
Every time when I connect to facebook, miranda open all group chats.
That's by design. Miranda joins all locally present chatrooms that aren't muted or archived (on facebook webiste, not possible from Miranda right now).

If you don't like this behavior, there is checkbox in options. Or you can delete chatrooms from Miranda which you don't want to join. Or set them on facebook as archived/muted.
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 sKopheK

  • Newbie
  • *
  • Posts: 31
Re: Facebook protocol
« Reply #595 on: 15 10 2016, 13:06:33 »
Hello, FB chat seems not to work in Miranda anymore  :'(

Spoiler
[15:05:06 16EC] [Facebook_1] *** Starting processing messages
[15:05:06 16EC] [Facebook_1] *** Messages processed
[15:05:20 0414] [Facebook_1] (000000000A42F330:1128) Data received
HTTP/1.1 200 OK
[15:05:20 0414] [Facebook_1] (000000000A42F330:1128) Data received
Cache-Control: private, no-store, no-cache, must-revalidate
Pragma: no-cache
X-Frame-Options: DENY
Content-Type: application/json
Date: Sat, 15 Oct 2016 13:05:06 GMT
Content-Encoding: gzip
Connection: keep-alive
Content-Length: 366

‹
[15:05:20 0414] [Facebook_1] (000000000A42F330:1128) Data received
for (;;); {"t":"msg","seq":12,"u":100003543856746,"ms":[{"ofd_ts":1476536706524,"delta":{"attachments":[],"body":"cya there, nebo kdyby sel nekdo na tu cajku, tak se uvidime tam","irisSeqId":"392209","messageMetadata":{"actorFbId":"100003543856746","messageId":"mid.1476536706386:039ead7d69","offlineThreadingId":"6193043872133262157","tags":["source:chat:web"],"threadKey":{"threadFbId":"979445418830539"},"timestamp":"1476536706386"},"ttl":"TTL_OFF","class":"NewMessage"},"type":"delta","iseq":392209,"queue":100003543856746}]}
[15:05:20 0414] [Facebook_1] @@@ Got response with code 200
[15:05:20 0414] [Facebook_1] Pull response type = msg
[15:05:20 0414] [Facebook_1]     Got self sequence number: 12
[15:05:20 0414] [Facebook_1]  << Quitting channel()
[15:05:20 0414] [Facebook_1] *** FacebookProto::MessageLoop[1476536658] pinging...
[15:05:20 0414] [Facebook_1] *** FacebookProto::MessageLoop[1476536658] refreshing...
[15:05:20 0414] [Facebook_1]  >> Entering channel()
[15:05:20 0414] [Facebook_1] @@@ Sending request to '2-edge-chat.facebook.com/pull?channel=p_100003543856746&seq=12&partition=-2&clientid=7b725651&cb=pquh&idle=62&qp=y&pws=fresh&isq=487632&msgs_recv=10&cap=8&uid=100003543856746&viewer_uid=100003543856746&sticky_token=170&sticky_pool=frc1c16_chat-proxy'
[15:05:20 0414] [Facebook_1] Send request to https://2-edge-chat.facebook.com/pull?channel=p_100003543856746&seq=12&partition=-2&clientid=7b725651&cb=pquh&idle=62&qp=y&pws=fresh&isq=487632&msgs_recv=10&cap=8&uid=100003543856746&viewer_uid=100003543856746&sticky_token=170&sticky_pool=frc1c16_chat-proxy
[15:05:20 0414] [Facebook_1] (000000000A42F330:1128) Data sent
POST /pull?channel=p_100003543856746&seq=12&partition=-2&clientid=7b725651&cb=pquh&idle=62&qp=y&pws=fresh&isq=487632&msgs_recv=10&cap=8&uid=100003543856746&viewer_uid=100003543856746&sticky_token=170&sticky_pool=frc1c16_chat-proxy HTTP/1.1
Accept-Language: en,en-US;q=0.9
Accept: */*
User-Agent: Miranda NG/0.95.6 Facebook Protocol RM x64/0.3.0.1
Cookie: c_user=100003543856746;csm=2;datr=te1iV17ozVPM09G0z0kIvoCR;fr=0atP9MIb4Biktg1jS.AWU-HQox6qXGRHBF44Sj5BKjlzw.BYAilB.xg.AAA.0.0.BYAilB.AWXFiW6n;lu=ggj47dYSb0MrV38aZ0sa7_Ng;p=-2;pl=n;s=Aa7q-487QyZr2jhS.BYAilC;sb=QSkCWEUyLrFm7DRIIE826-Je;xs=165%3AuxQuqx7-Qj2_zw%3A2%3A1476536641%3A14217;
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Accept-Encoding: deflate, gzip
Host: 2-edge-chat.facebook.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 0

[15:05:20 0DA0] [Facebook_1] *** Starting processing messages
[15:05:20 0DA0] [Facebook_1]   < Got chat message ID: mid.1476536706386:039ead7d69
[15:05:20 0DA0] [Facebook_1] @@@ Sending request to 'www.facebook.com/ajax/mercury/thread_info.php?dpr=1'
[15:05:20 0DA0] [Facebook_1] Send request to https://www.facebook.com/ajax/mercury/thread_info.php?dpr=1
[15:05:20 0DA0] [Facebook_1] (0000000001CAEB10:1108) Data sent
POST /ajax/mercury/thread_info.php?dpr=1 HTTP/1.1
Accept-Language: en,en-US;q=0.9
Accept: */*
User-Agent: Miranda NG/0.95.6 Facebook Protocol RM x64/0.3.0.1
Cookie: c_user=100003543856746;csm=2;datr=te1iV17ozVPM09G0z0kIvoCR;fr=0atP9MIb4Biktg1jS.AWU-HQox6qXGRHBF44Sj5BKjlzw.BYAilB.xg.AAA.0.0.BYAilB.AWXFiW6n;lu=ggj47dYSb0MrV38aZ0sa7_Ng;p=-2;pl=n;s=Aa7q-487QyZr2jhS.BYAilC;sb=QSkCWEUyLrFm7DRIIE826-Je;xs=165%3AuxQuqx7-Qj2_zw%3A2%3A1476536641%3A14217;
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Accept-Encoding: deflate, gzip
Host: www.facebook.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 247

[15:05:20 0DA0] [Facebook_1] (0000000001CAEB10:1108) Data sent
client=mercury&__user=100003543856746&__dyn=&__req=6&__rev=2509236&fb_dtsg=AQHOz4ZJ3YSP%3AAQGqrCeK4qX5&ttstamp=265817279122529074518983803751656581711131146710175521138853&__a=1&__pc=PHASED:DEFAULT&__be=-1&threads[thread_ids][0]=id.979445418830539
[15:05:21 0414] [Facebook_1] (000000000A42F330:1128) Data received
HTTP/1.1 200 OK
[15:05:21 0414] [Facebook_1] (000000000A42F330:1128) Data received
Cache-Control: private, no-store, no-cache, must-revalidate
Pragma: no-cache
X-Frame-Options: DENY
Content-Type: application/json
Date: Sat, 15 Oct 2016 13:05:06 GMT
Content-Encoding: gzip
Connection: keep-alive
Content-Length: 268

‹
[15:05:21 0414] [Facebook_1] (000000000A42F330:1128) Data received
for (;;); {"t":"msg","seq":13,"u":100003543856746,"ms":[{"ofd_ts":1476536706732,"delta":{"actorFbId":"1485445881","deliveredWatermarkTimestampMs":"1476536706386","irisSeqId":"392210","messageIds":["mid.1476536706386:039ead7d69"],"threadKey":{"threadFbId":"979445418830539"},"class":"DeliveryReceipt"},"type":"delta","iseq":392210,"queue":100003543856746}]}
[15:05:21 0414] [Facebook_1] @@@ Got response with code 200
[15:05:21 0414] [Facebook_1] Pull response type = msg
[15:05:21 0414] [Facebook_1]     Got self sequence number: 13
[15:05:21 0414] [Facebook_1]  << Quitting channel()
[15:05:21 0414] [Facebook_1] *** FacebookProto::MessageLoop[1476536658] pinging...
[15:05:21 0414] [Facebook_1] *** FacebookProto::MessageLoop[1476536658] refreshing...
[15:05:21 0414] [Facebook_1]  >> Entering channel()
[15:05:21 0414] [Facebook_1] @@@ Sending request to '2-edge-chat.facebook.com/pull?channel=p_100003543856746&seq=13&partition=-2&clientid=7b725651&cb=s3ss&idle=63&qp=y&pws=fresh&isq=487632&msgs_recv=11&cap=8&uid=100003543856746&viewer_uid=100003543856746&sticky_token=170&sticky_pool=frc1c16_chat-proxy'
[15:05:21 0414] [Facebook_1] Send request to https://2-edge-chat.facebook.com/pull?channel=p_100003543856746&seq=13&partition=-2&clientid=7b725651&cb=s3ss&idle=63&qp=y&pws=fresh&isq=487632&msgs_recv=11&cap=8&uid=100003543856746&viewer_uid=100003543856746&sticky_token=170&sticky_pool=frc1c16_chat-proxy
[15:05:21 0414] [Facebook_1] (000000000A42F330:1128) Data sent
POST /pull?channel=p_100003543856746&seq=13&partition=-2&clientid=7b725651&cb=s3ss&idle=63&qp=y&pws=fresh&isq=487632&msgs_recv=11&cap=8&uid=100003543856746&viewer_uid=100003543856746&sticky_token=170&sticky_pool=frc1c16_chat-proxy HTTP/1.1
Accept-Language: en,en-US;q=0.9
Accept: */*
User-Agent: Miranda NG/0.95.6 Facebook Protocol RM x64/0.3.0.1
Cookie: c_user=100003543856746;csm=2;datr=te1iV17ozVPM09G0z0kIvoCR;fr=0atP9MIb4Biktg1jS.AWU-HQox6qXGRHBF44Sj5BKjlzw.BYAilB.xg.AAA.0.0.BYAilB.AWXFiW6n;lu=ggj47dYSb0MrV38aZ0sa7_Ng;p=-2;pl=n;s=Aa7q-487QyZr2jhS.BYAilC;sb=QSkCWEUyLrFm7DRIIE826-Je;xs=165%3AuxQuqx7-Qj2_zw%3A2%3A1476536641%3A14217;
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Accept-Encoding: deflate, gzip
Host: 2-edge-chat.facebook.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 0

[15:05:21 0378] [Facebook_1] *** Starting processing messages
[15:05:21 0378] [Facebook_1] json::parse_messages - Unknown class 'DeliveryReceipt'
[15:05:21 0378] [Facebook_1] *** Messages processed
[15:05:21 0DA0] [Facebook_1] (0000000001CAEB10:1108) Data received
HTTP/1.1 200 OK
[15:05:21 0DA0] [Facebook_1] (0000000001CAEB10:1108) Data received
X-Frame-Options: DENY
Strict-Transport-Security: max-age=15552000; preload
Cache-Control: private, no-cache, no-store, must-revalidate
Access-Control-Allow-Credentials: true
Pragma: no-cache
Vary: Origin
Access-Control-Allow-Origin: https://www.facebook.com
Access-Control-Expose-Headers: X-FB-Debug, X-Loader-Length
public-key-pins-report-only: max-age=500; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="; pin-sha256="q4PO2G2cbkZhZ82+JgmRUyGMoAeozA+BSXVXQWB8XWQ="; report-uri="http://reports.fb.com/hpkp/"
access-control-allow-method: OPTIONS
Expires: Sat, 01 Jan 2000 00:00:00 GMT
X-XSS-Protection: 0
Content-Type: application/x-javascript; charset=utf-8
X-Content-Type-Options: nosniff
Vary: Accept-Encoding
Content-Encoding: gzip
X-FB-Debug: TJMJ9mizvAt5UdrozNhcqayWSScwwkwrNkVzmDU87ANw0SUfwSO48vxoUgjjZUrLzoStWUsq947eoVtYDtCP4g==
Date: Sat, 15 Oct 2016 13:05:06 GMT
Transfer-Encoding: chunked
Connection: keep-alive

be
‹
[15:05:21 0DA0] [Facebook_1] (0000000001CAEB10:1108) Data received
be
‹
[15:05:21 0DA0] [Facebook_1] (0000000001CAEB10:1108) Data received

a

[15:05:21 0DA0] [Facebook_1] (0000000001CAEB10:1108) Data received

0

[15:05:21 0DA0] [Facebook_1] (0000000001CAEB10:1108) Data received
for (;;);{"__ar":1,"__sf":"o","error":1545012,"errorSummary":"Temporary Failure","errorDescription":"There was a temporary error, please try again.","transientError":1,"payload":null,"bootloadable":{},"ixData":{},"lid":"6341676865073916351"}
[15:05:21 0DA0] [Facebook_1] @@@ Got response with code 200
[15:05:21 0DA0] [Facebook_1] !!! Received Facebook error: 1545012 -- There was a temporary error, please try again.
[15:05:21 0DA0] [Facebook_1] !!! LoadChatInfo(): Something with Facebook went wrong
[15:05:21 0DA0] [Facebook_1] *** Messages processed
[15:05:21 04B4] [Facebook_1] @@@ Sending request to 'www.facebook.com/ajax/mercury/change_read_status.php?__a=1'
[15:05:21 04B4] [Facebook_1] Send request to https://www.facebook.com/ajax/mercury/change_read_status.php?__a=1
[15:05:21 04B4] [Facebook_1] (0000000001CAEB10:1108) Data sent
POST /ajax/mercury/change_read_status.php?__a=1 HTTP/1.1
Accept-Language: en,en-US;q=0.9
Accept: */*
User-Agent: Miranda NG/0.95.6 Facebook Protocol RM x64/0.3.0.1
Cookie: c_user=100003543856746;csm=2;datr=te1iV17ozVPM09G0z0kIvoCR;fr=0atP9MIb4Biktg1jS.AWU-HQox6qXGRHBF44Sj5BKjlzw.BYAilB.xg.AAA.0.0.BYAilB.AWXFiW6n;lu=ggj47dYSb0MrV38aZ0sa7_Ng;p=-2;pl=n;s=Aa7q-487QyZr2jhS.BYAilC;sb=QSkCWEUyLrFm7DRIIE826-Je;xs=165%3AuxQuqx7-Qj2_zw%3A2%3A1476536641%3A14217;
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Accept-Encoding: deflate, gzip
Host: www.facebook.com
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Content-Length: 191

[15:05:21 04B4] [Facebook_1] (0000000001CAEB10:1108) Data sent
ids[id.979445418830539]=true&fb_dtsg=AQHOz4ZJ3YSP%3AAQGqrCeK4qX5&ttstamp=265817279122529074518983803751656581711131146710175521138853&__user=100003543856746&__dyn=&__req=7&__rev=2509236&__a=1
[15:05:21 04B4] [Facebook_1] (0000000001CAEB10:1108) Data received
HTTP/1.1 200 OK
[15:05:21 04B4] [Facebook_1] (0000000001CAEB10:1108) Data received
X-Frame-Options: DENY
Strict-Transport-Security: max-age=15552000; preload
Cache-Control: private, no-cache, no-store, must-revalidate
Access-Control-Allow-Credentials: true
Pragma: no-cache
Vary: Origin
Access-Control-Allow-Origin: https://www.facebook.com
Access-Control-Expose-Headers: X-FB-Debug, X-Loader-Length
public-key-pins-report-only: max-age=500; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="; pin-sha256="q4PO2G2cbkZhZ82+JgmRUyGMoAeozA+BSXVXQWB8XWQ="; report-uri="http://reports.fb.com/hpkp/"
access-control-allow-method: OPTIONS
Expires: Sat, 01 Jan 2000 00:00:00 GMT
X-XSS-Protection: 0
Content-Type: application/x-javascript; charset=utf-8
X-Content-Type-Options: nosniff
Vary: Accept-Encoding
Content-Encoding: gzip
X-FB-Debug: t0kSYijGSfr2rXMz7KXJ69pKvxSXLI5aEvCtgQXYqi7mqkR2tpuKMaNhp4CaavcWzi+3HZoAA6VPUm3nzYulhQ==
Date: Sat, 15 Oct 2016 13:05:07 GMT
Transfer-Encoding: chunked
Connection: keep-alive

10f
‹
[15:05:21 04B4] [Facebook_1] (0000000001CAEB10:1108) Data received
10f
‹
[15:05:21 04B4] [Facebook_1] (0000000001CAEB10:1108) Data received

a

[15:05:21 04B4] [Facebook_1] (0000000001CAEB10:1108) Data received

0

[15:05:21 04B4] [Facebook_1] (0000000001CAEB10:1108) Data received
for (;;);{"__ar":1,"__sf":"o","error":1357031,"errorSummary":"This content is no longer available","errorDescription":"The content you requested cannot be displayed right now. It may be temporarily unavailable, the link you clicked on may have expired, or you may not have permission to view this page.","payload":null,"bootloadable":{},"ixData":{},"lid":"6341676869709233007"}
[15:05:21 04B4] [Facebook_1] @@@ Got response with code 200
[15:05:21 04B4] [Facebook_1] !!! Received Facebook error: 1357031 -- The content you requested cannot be displayed right now. It may be temporarily unavailable, the link you clicked on may have expired, or you may not have permission to view this page.
[close]
 

Offline Robyer

Re: Facebook protocol
« Reply #596 on: 15 10 2016, 16:27:35 »
sKopheK, my testing account seems working normal. Either it's temporary issue or it will come to me later too...

EDIT: Both my accounts works without problems.
« Last Edit: 16 10 2016, 10:55:57 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 sKopheK

  • Newbie
  • *
  • Posts: 31
Re: Facebook protocol
« Reply #597 on: 25 11 2016, 10:24:05 »
Hello,
chat is still broken, giving me error messages in popups (content you requested cannot be displayed right now), see log in attachment.

 

Offline devil

  • Newbie
  • *
  • Posts: 22
Re: Facebook protocol
« Reply #598 on: 06 12 2016, 09:11:59 »
how to import facebook birthdays to userinfo to work with birthday plugin? thanks
 

Offline Robyer

Re: Facebook protocol
« Reply #599 on: 06 12 2016, 09:29:21 »
sKopheK, should be fixed in current development builds.

indecline, it's currently not possible. Maybe I'll find some way in the future, but don't count on that. In any case you can create feature request, so I won't forget to look at it...
I was developing mainly Facebook, Omegle, Steam, Dummy and MobileState plugins. Now I'm retired. Goodbye, everyone. ~ You can still find me on Facebook.