Pages

Facebook Object Debugger

Facebook object debugger - One typically essential, and ignored the element of modern-day web advancement is Open Chart tags. You understand, those meta tags with unique characteristics that break your page recognition? That's an entirely another subject though.

Today, I wish to discuss the Facebook Object Debugger and providing it access to an HTTP Auth safeguarded the environment, such as a staging or pre-launch production website. This is Apache particular, so Nginx fans will need to look in other places.

The simplest manner in which I have discovered to make this work is to accept based upon user representative. I initially attempted permitting it based upon IP address. However the debugger utilizes lots of IP addresses, and after I had included a half lots, I quit and changed to user representative.

Understand, that because of this, it's rather simple for somebody to phony their UA and access, so I suggest just utilizing this code while you actively use the debugger, and turning it off later on. This likewise avoids leakages if somebody pastes the URL into a real Facebook remark.