PHP: encoding meta data for Facebook

EuroWebStudio

New Member
Strangest thing:I'm trying to get facebook to recognize the "&" sign within the \[code\]<meta property='og:title' content="data"/>\[/code\] field.I have content being extracted from a db where I urlencode: & becomes \[code\]&\[/code\] but facebook doesn't pick up the encoding.. Except, when I just plainly add a \[code\]&\[/code\] to the code itself, it picks it up.. It seems as though it's specifically having an issue with reading the php conversion of the symbols. Any idea? Been stuck on this for too long. I've been using the facebook linter to test this.
 
Back
Top