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

Fixed Facebook Like / Recommend Button Error

Discussion in 'Resolved Bug Reports' started by BigSoccer Tech, Feb 9, 2011.

  1. BigSoccer Tech

    BigSoccer Tech Active Member

    all like buttons are generating this error

    You failed to provide a valid list of administators. You need to supply the administors using either a "fb:app_id" meta tag, or using a "fb:admins" meta tag to specify a comma-delimited list of Facebook users.?

    help?
     
  2. bizpro

    bizpro Member

    I am getting that error too?
     
  3. BigSoccer Tech

    BigSoccer Tech Active Member

    i worked around it by creating the app meta tag but it seems this should be built into xf
     
  4. bizpro

    bizpro Member

    explain.
     
  5. Mike

    Mike XenForo Developer Staff Member

    It's happening here too, which is very strange...
     
    Vincent likes this.
  6. bizpro

    bizpro Member

    so explain how to apply the fix, please. [​IMG]
     
  7. yavuz

    yavuz Well-Known Member

    After clicking on Facebook Like / Recommend Button first it says that I've liked the post but after a moment reports an error. This happens to me here on xenforo also.

    caps.png

    This feature was working before but after some of other members were having the same problems I thought I ask if this is a xenforo related issue or facebook.

    I'm running Rc1 but the problem is on RC2 versions and confirmed.
     
  8. krstep

    krstep Active Member

    Click the "Error" link. It will show you what's wrong.
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    It looks as if there may be some problem with the Facebook functionality at their end as this is the second report of the FB button not working.

    Either that or they've changed the app' and it now needs to be updated in the software.
     
  10. Kier

    Kier XenForo Developer Staff Member

    This is something that Facebook appears to have broken on the Tuesday code push. I'm trying to get it sorted with them now, as the Like button is not supposed to require fb:admins or fb:app_id to be defined as far as I can tell. It certainly didn't until this week.
     
  11. bizpro

    bizpro Member

    Here is how I fixed it :

    Admin CP -> Appearance -> Templates -> PAGE_CONTAINER
    Between <head> and </head>
    add:
    <meta property="fb:admins" content="fb-username" />

    just remember to change fb_username to your facebook username.
     
  12. Kier

    Kier XenForo Developer Staff Member

    Thanks for the fix, but this requires the site admin to have a Facebook account, which is not something it required before Facebook made its change. I'm still chasing it up.
     
    Rudy and Will like this.
  13. Rudy

    Rudy Well-Known Member

    Same error here, so I'll hang tight. I had an "error" show up in the past, but that was unrelated (we were trying to "Like" a private area of the forum).
     
  14. Kier

    Kier XenForo Developer Staff Member

    Facebook claim that it was always intended to work like this, and that pages can only participate in the Open Graph if there is a defined application or list of administrators, so that OG nodes have controlling parties.

    The fact remains that it worked without those requirements before though...

    Anyway, I've worked around it. If you don't define an application or administrator user IDs, I don't include Open Graph tags any more.
     
  15. Brogan

    Brogan XenForo Moderator Staff Member

    Where is the administer user ID entered?
    Or is that going to be a new field in the Facebook Integration options?
     
  16. James

    James Well-Known Member

    I'd also love to have the quick access to the Facebook team that Kier has (thanks to Scott perhaps?)

    Does seem odd that it worked beforehand but not now... unless it was just a long-term bug they didn't fix.
     
  17. Kier

    Kier XenForo Developer Staff Member

    Screen shot 2011-02-12 at 01.56.37.png
     
    James likes this.
  18. Peggy

    Peggy Well-Known Member

    So this is what it's going to look like in the next update, correct?
     
  19. steven s

    steven s Well-Known Member

    Were do you get this admin number?
     
  20. Peggy

    Peggy Well-Known Member

    That is your (our) admins who are facebook members. The admin # is their facebook id's
     

Share This Page