If your website is blocked by Facebook. It is very difficult to request Facebook to unlock your website (except you paid the money to FB to unlock Facebook customer service) even the block reason is the block algorithm bug. You can use this Github repository to make your redirect website, the redirect website can dynamically redirect your website and bypass Facebook blocked URL check. If you build a static redirect website page, this redirect website also can show the target website title / description / preview image on the Facebook post.
Hope Facebook can fix the block URL algorithm bug one day!
-
Dynamic redirect target website
- Git clone this repository and set your repository to enable the Github page.
- Edit /docs/js/validate.js, add your website domain into validate_domain array.
- You can use below URL format to bypass Facebook URL block check: "https://{your GitHub page url}?url={your target URL with URL encode}"
-
Static redirect target website
- Git clone this repository and set your repository to enable the Github page.
- Run "generate-index-html.py" python script, the usage: python generate-index-html.py {target url} {delay time} {target output file name}
- The output file is generated on /docs/redirect/{target output file name}
- You can use below url format to bypass Facebook url block check and it will show preview title / description / image: "https://{your github page url}/redirect/{target output file name}"
- urllib3>=1.25.6
- bs4>=0.0.1
- lxml>=4.5.1
This project is licensed under the terms of the MIT license.