1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Open Graph HELP NEEDED!

Discussion in 'FaceBook' started by J0kerz, Apr 30, 2010.

  1. J0kerz

    J0kerz Supreme Member

    Joined:
    Nov 2, 2009
    Messages:
    1,413
    Likes Received:
    435
    Occupation:
    IM
    Location:
    There
    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: Apr 30, 2010
  2. J0kerz

    J0kerz Supreme Member

    Joined:
    Nov 2, 2009
    Messages:
    1,413
    Likes Received:
    435
    Occupation:
    IM
    Location:
    There
    No one ever dealt with the Open graph API? :(
     
  3. C.S.A.

    C.S.A. Junior Member

    Joined:
    Mar 29, 2010
    Messages:
    150
    Likes Received:
    242
    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...
     
  4. afallison

    afallison Regular Member

    Joined:
    May 8, 2009
    Messages:
    329
    Likes Received:
    143
    Occupation:
    Internet Marketer ;)
    Location:
    the woods
    there isnt anything to setup. facebook gives you the html, just apply it.
     
  5. J0kerz

    J0kerz Supreme Member

    Joined:
    Nov 2, 2009
    Messages:
    1,413
    Likes Received:
    435
    Occupation:
    IM
    Location:
    There
    What do you mean 2 hours?
     
  6. J0kerz

    J0kerz Supreme Member

    Joined:
    Nov 2, 2009
    Messages:
    1,413
    Likes Received:
    435
    Occupation:
    IM
    Location:
    There
    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>

     
  7. brainpower

    brainpower Junior Member

    Joined:
    Mar 23, 2009
    Messages:
    144
    Likes Received:
    25
    dude, you didnt put in any of the parameters

    SITE URL is suppose to be the actual site url!
     
  8. J0kerz

    J0kerz Supreme Member

    Joined:
    Nov 2, 2009
    Messages:
    1,413
    Likes Received:
    435
    Occupation:
    IM
    Location:
    There
    LOL, I know. It's a simple example so I dont expose my website..cmon ;)

    Is the structure alright?
     
  9. brainpower

    brainpower Junior Member

    Joined:
    Mar 23, 2009
    Messages:
    144
    Likes Received:
    25
    the structure is correct, but it might be the way you are putting the parameters that's causing your issue
     
  10. Megalomaniac Midget

    Megalomaniac Midget Power Member Premium Member

    Joined:
    Oct 1, 2009
    Messages:
    688
    Likes Received:
    1,063
    Occupation:
    Bullshit Artist
    Home Page:
    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
     
  11. J0kerz

    J0kerz Supreme Member

    Joined:
    Nov 2, 2009
    Messages:
    1,413
    Likes Received:
    435
    Occupation:
    IM
    Location:
    There
    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.
     
  12. kendra

    kendra Power Member

    Joined:
    Aug 12, 2009
    Messages:
    538
    Likes Received:
    334
    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: May 1, 2010
  13. J0kerz

    J0kerz Supreme Member

    Joined:
    Nov 2, 2009
    Messages:
    1,413
    Likes Received:
    435
    Occupation:
    IM
    Location:
    There
    @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...
     
  14. kendra

    kendra Power Member

    Joined:
    Aug 12, 2009
    Messages:
    538
    Likes Received:
    334
    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.
     
  15. J0kerz

    J0kerz Supreme Member

    Joined:
    Nov 2, 2009
    Messages:
    1,413
    Likes Received:
    435
    Occupation:
    IM
    Location:
    There
    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: May 1, 2010
  16. kendra

    kendra Power Member

    Joined:
    Aug 12, 2009
    Messages:
    538
    Likes Received:
    334
    Yes you have to own the page - or at least have access to the php or html files.

    I use the iframe code.
     
  17. J0kerz

    J0kerz Supreme Member

    Joined:
    Nov 2, 2009
    Messages:
    1,413
    Likes Received:
    435
    Occupation:
    IM
    Location:
    There
    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>
     
  18. kendra

    kendra Power Member

    Joined:
    Aug 12, 2009
    Messages:
    538
    Likes Received:
    334
    Yes, that should work.
     
  19. J0kerz

    J0kerz Supreme Member

    Joined:
    Nov 2, 2009
    Messages:
    1,413
    Likes Received:
    435
    Occupation:
    IM
    Location:
    There
    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.
     
  20. kendra

    kendra Power Member

    Joined:
    Aug 12, 2009
    Messages:
    538
    Likes Received:
    334
    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.