My FB Like Button Issue

So I’ve been dealing with Facebook’s like button error for a while. FB offers an easy way of putting a Like button in your WordPress theme by using a configurator which will give you codes once you input some needed info. I got it from here and I thought I just messed up some codes because when I click the button, it gives me this error:

“Sorry, this post contains a suspicious URL: Unknown error”.

Upon doing some checks I got it all sorted out. Ugh.

By default ec2 gives a public DNS something like and Facebook treats it as a suspicious URL.Well, of course it does look suspicious. Look how long the URL is.

I tried other “valid” URLs and they worked.

Stupid me.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s