When an URL is share on Facebook Post, facebook manipulate the URL by adding the facebook click id (&fbclid=blahblah).

In this process, it also causes empty query string to become nil. E.g.





Notice that b= has became b. The value of b changed from empty string to nil.

If your code is expecting some value (empty string is considered a value) but not expecting nil, this might breaks your code. Make sure when your code reads query string, it could handle such scenario. Otherwise your URL won't open after being share on Facebook.