URL to compose Facebook email/message (compose ema

2019-03-28 04:07发布

问题:

Facebook used to have the following URL format to compose a message:

http://www.facebook.com/?compose&id=XXXXXX&message=...

However, the above URL does not work any more: it is just forwarding user to Facebook home page. Does anybody if it is possible to compose a Facebook email via URL params?

回答1:

You can use this link at this moment. User id can be numbers and actual name if the receiver sets it:

http://www.facebook.com/messages/[user id]?msg_prefill=message

It seems this old style works as well. It just redirects.

http://www.facebook.com/inbox/?compose&id=[user id]&message=foo

Update As of November 8, 2012, Facebook redesigned its Message UI and msg_prefill nor message parameter no longer works.



回答2:

Don't know if it helps, but I use:

https://m.me/<PAGE_ID or USER_ID>

It links to the Facebook Messenger.



回答3:

If you want to be informed on changes, a bug was opened on Facebook on October 26, 2012.



回答4:

This mobile link still works:

https://m.facebook.com/messages/compose?ids=USER_ID

As of May 2015, I have not found a desktop link that works.



回答5:

There are actually two options for a Facebook message link generation:
https://www.facebook.com/messages/t/[USER_ID]
or
https://m.me/[USER_ID]