Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Support/Help => Topic started by: Kimoo on 03 01 2023, 21:24:56

Title: how Could i change the Miranda useragent for facebook plugin ??
Post by: Kimoo on 03 01 2023, 21:24:56
how Could i change the Miranda useragent  for facebook plugin ??
So i can for example make facebook that i logged in from firefox ,Chrome , etc etc
Title: Re: how Could i change the Miranda useragent for facebook plugin ??
Post by: dartraiden on 27 01 2023, 22:36:12
We added the ability to change the user-agent into the developer version.

https://wiki.miranda-ng.org/index.php?title=Plugin:Facebook/en#Hidden_settings

But we don't know what the user agent should be. It should not be a browser user-agent, since we do not act as an HTTP browser. Miranda uses the MQTT protocol.

I tried to substitute the Chrome user agent there and Facebook just stopped logging in (both in Miranda and even in the browser (!)) until I reset the password. Seems like Facebook sees that access is made with the browser user-agent, but via MQTT instead of HTTPS and thinks "What the hell? I will block this strange dude"

So there is no way to show Miranda as a browser since Miranda and the browser use completely different protocols.

Title: Re: how Could i change the Miranda useragent for facebook plugin ??
Post by: Kimoo on 29 01 2023, 21:41:07
We added the ability to change the user-agent into the developer version.

https://wiki.miranda-ng.org/index.php?title=Plugin:Facebook/en#Hidden_settings

But we don't know what the user agent should be. It should not be a browser user-agent, since we do not act as an HTTP browser. Miranda uses the MQTT protocol.

I tried to substitute the Chrome user agent there and Facebook just stopped logging in (both in Miranda and even in the browser (!)) until I reset the password. Seems like Facebook sees that access is made with the browser user-agent, but via MQTT instead of HTTPS and thinks "What the hell? I will block this strange dude"

So there is no way to show Miranda as a browser since Miranda and the browser use completely different protocols.

Could we add a useragent of the web messenger ?
or the user agent of the official FB messenger for windows ?
what you think ??
Title: Re: how Could i change the Miranda useragent for facebook plugin ??
Post by: dartraiden on 29 01 2023, 22:53:12
Web messanger uses HTTPS so no.

Official FB messenger - maybe. If you can somehow find out his user agent.
Title: Re: how Could i change the Miranda useragent for facebook plugin ??
Post by: Kimoo on 30 01 2023, 00:46:43
Web messanger uses HTTPS so no.

Official FB messenger - maybe. If you can somehow find out his user agent.
i think the site that contains useragents have some problem

but i got those for you to test them

https://user-agents.net/applications/facebook-app/architectures/64
https://user-agents.net/applications/facebook-app
https://developers.facebook.com/docs/sharing/webmasters/crawler
https://gist.github.com/etienne-martin/bea6b38c6999c720d91bd77010fae4f4

and look on this so well https://whatmyuseragent.com/apps

i didn't found the one for windows now only this i found
https://developers.whatismybrowser.com/useragents/parse/457733-facebook-app-windows-webkit
Title: Re: how Could i change the Miranda useragent for facebook plugin ??
Post by: Kimoo on 09 06 2023, 22:22:51
Web messanger uses HTTPS so no.

Official FB messenger - maybe. If you can somehow find out his user agent.
Could you explain to me please how to change a user agent of the browser , i tried to do this in photo but didn't changed the useragent appeared for Facebook
Title: Re: how Could i change the Miranda useragent for facebook plugin ??
Post by: dartraiden on 10 06 2023, 00:01:10
You need a useragent that uses the application on the phone, not the browser.

To do this, you need to intercept and analyze application traffic using Fiddler or similar tool.
Title: Re: how Could i change the Miranda useragent for facebook plugin ??
Post by: Kimoo on 10 06 2023, 00:02:54
You need a useragent that uses the application on the phone, not the browser.

To do this, you need to intercept and analyze application traffic using Fiddler or similar tool.
let's say that i know the useragent

How can i add it to Miranda ? please explain to me the steps , i already have DbEditor
Title: Re: how Could i change the Miranda useragent for facebook plugin ??
Post by: dartraiden on 10 06 2023, 17:40:26
See attached screenshots
Title: Re: how Could i change the Miranda useragent for facebook plugin ??
Post by: Kimoo on 11 06 2023, 04:46:04

I already did the same in those photos , but no thing changed , the facebook still say that it's Messenger for Android
Title: Re: how Could i change the Miranda useragent for facebook plugin ??
Post by: dartraiden on 11 06 2023, 12:01:20
Since the Miranda plugin works on the same protocol (MQTT) like Messenger for Android, not HTTPS protocol like a browser, maybe there is no way to make Facebook believe it's a browser.

Most likely, we can disguise Miranda under Android Messenger, iOS Messenger, under any messenger that uses MQTT protocol. But not HTTPS.