Open Graph HELP NEEDED!

J0kerz

Supreme Member
Joined
Nov 2, 2009
Messages
1,441
Reaction score
445
Hey guys,

I cant seem to be able to setup the open graph api properly on my website. It's a very simple problem.

If anyone is willing to help me, please hit me up with a PM.

I would really appreciate it.

Im gonna Thanks & Rep.

Thanks!
;)
 
Last edited:
No one ever dealt with the Open graph API? :(
 
I mean, it doesn't look like you're offering to pay, and it doesn't look like you've tried anything yourself. Get started and come back with a specific question, or go look for a freelancer you can pay to get it set up.

Also, have patience. 2 hours isn't that long to wait...
 
there isnt anything to setup. facebook gives you the html, just apply it.
 
Also, have patience. 2 hours isn't that long to wait...

What do you mean 2 hours?
 
Heres the code, do you see anything wrong with that code? Because it isnt working. The like button act like if there were no meta parameters at all.



<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns: og="http://opengraphprotocol.org/schema/" xmlns:fb="http://developers.facebook.com/schema/">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Like Test 2</title>

<meta property="og:title" content="SITE NAME" />
<meta property="og:type" content="website" />
<meta property="og:url" content="SITE URL" />
<meta property="og:image" content="IMG URL" />
<meta property="og:description" content="DESCRIPTION" />
<meta property="fb:admins" content="ID" />

</head>
<body>
<center>

<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2FSITE URL%2F&layout=standard&show_faces=true&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:80px;"></iframe>


</center>

</body>
</html>

 
dude, you didnt put in any of the parameters

SITE URL is suppose to be the actual site url!
 
dude, you didnt put in any of the parameters

SITE URL is suppose to be the actual site url!

LOL, I know. It's a simple example so I dont expose my website..cmon ;)

Is the structure alright?
 
the structure is correct, but it might be the way you are putting the parameters that's causing your issue
 
LOL, I know. It's a simple example so I dont expose my website..cmon ;)

Is the structure alright?

The "normal" way to ask for help with coding issues is actually tell us;

1/ what the error msg's are. have you looked at your servers error logs?

2/ exactly whats not working & what is working
eg are you getting a black screen, is a huge green dildo flashing on the screen, etc details, details, details
 
I dont get any actual errors.

The thing is that the open graph api doesnt work. I clicked the like button with the user I set up as admin and even by doing so, no pages is created. I cant manage the page at all.

Also, the message that should appear on user's profile is incorect.

It should be:

ex: JOHN like OBJECT from WEBSITE NAME

But it is:

JOHN like WEBSITE NAME

It act like if it was a simple like button without meta parameters.
 
I have been having this same problem.

I tested on a few of my empty domains and I can't see why it happens. It seems to be a bit hit and miss. One minute it works fine and creates the FB page allowing me to manage it. Then later on another page with all the same parameters I get the same problem as you.

Only suggestion I have for you is to remove all the FB meta tags and use ONLY the Admins tag. I have tried this and FB pulls the other information from the website by itself. At least this way you can get an idea if it actually is the meta tags causing the problem.

PS: Sometimes there is a time delay before the page is created.
 
Last edited:
@Kendra: Thanks Im gonna try it.

By the way, do you need to put the like button on the page, that is liked? I mean, do you have to own the page that you like?

I guess so because if not you could manage a page referring to any site...
 
As far as I can see though, this Like button is only to all sorts of abuse.

But I don't know how one would go about adding the meta tags to a site they don't own without resorting to hacking or exploits.
 
So you have to own the page that you like in order to manage it, right?

I mean I could add such code to my page & control the page referring to google if not...:

<meta property="fb:admins" content="ID" />

<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2FGoogle.com%2F&layout=standard&show_faces=true&amp ;width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:80px;"></iframe>


And also, do you use the iframe code or the XFBML code?
 
Last edited:
Yes you have to own the page - or at least have access to the php or html files.

I use the iframe code.
 
So let say your like button is on this page http://DOMAIN.com/page1.html

Your iframe code would look like this ?:

<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2FDOMAIN.com/page1.html%2F&layou t=standard&show_faces=true&amp ;width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:80px;"></iframe>
 
Allright, and approx. how many time does it take for the page to be created, I read somewhere that it can take a couple of hours.
 
I haven't used it enough to give you much of an answer on that one.

Some of my pages have been created instantly - others still hadn't appeared after a few hours. The ones that took too long I assumed were broke somehow. But it could just be some form of delay.

All this stuff is pretty new, so I guess it's not as smooth going as it should be just yet.
 
Back
Top