Fixed Facebook's new URLs are not embedded

JoshyPHP

Well-known member
Affected version
2.2.11
A little while ago, Facebook introduced a new format for their posts' URLs. Instead of JoeUser/posts/123, the URL will contain something like JoeUser/posts/pfbidXXX where XXX is an alphanumeric string representing the post's ID, obfuscated with an unspecified algorithm. Those URLs are not currently recognized by the Facebook media site. The simplest way to support them would be to allow alphanumeric characters for the Facebook media site's $id and use both types of IDs interchangeably. For example:
Code:
[MEDIA=facebook]MetaforDevelopers/posts/pfbid02AjykStT5ibHUqjxCw6mAnJhnonDjjbSy2pqmxcmoWJTnauy7SdG2BDDkPseZv35ol[/MEDIA]
 
I've just found that pfbid can also be found in other URLs, such as this one: https://www.facebook.com/permalink.php?story_fbid=pfbid0WuqdxKi9geNcB72QT8L97G4z7jBfxA6aFuRRjPxcFa8upRNXc6JSbdgUCWmh6g8fl&id=100083036365627

Basically anywhere you'd expect a numeric ID, you can get a pfbidXXX instead. Judging by what kinds of URLs are being posted on Reddit right now, this is going to concern most of organic link sharing.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.12).

Change log:
Make adjustments to Facebook media site to support new pfbid IDs
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom