hello guys i am trying to get like box from facebook and i am sure from url of my page i have tryed to use id instead of url but also i get the same result what is the problem
example : http://www.facebook.com/einelhelwehsite

is there any step should i do before i get like box
please help

Dani AI

Generated

This thread shows hit the classic "There was an error fetching the like box for the specified page" message and later reported the problem was solved but did not post the fix; asked what the solution was. For anyone landing here later, the most reliable, verifiable causes and fixes for that error are listed below.

  • Confirm the target is a Facebook Page (not a personal profile). The Like Box / Page Plugin only works with Pages.
  • Make the Page publicly visible and published. Age or country restrictions or an unpublished Page will prevent the plugin from loading. The official Page Plugin documentation notes that restricted Pages will not render the widget (Page Plugin docs).
  • Try the numeric Page ID instead of the vanity username; usernames can change. The Page ID is available in Page Settings > Page Info or via the Graph API tools.
  • Move to Facebook’s current Page Plugin (replacement for the old Like Box) and use the exact href for the Page. Follow the markup in the docs rather than older iframe snippets.
  • Avoid mixed-content blocking: serve the plugin using the same protocol (https) as the hosting site or use a protocol-relative URL.
  • Check the browser console and use the Graph API Explorer to see whether the Page object is returned and whether Facebook returns an access/permission error (Graph API Explorer). Console and Graph responses clearly indicate whether the problem is an invalid ID, access restriction, or deprecated code.

Example Page Plugin markup (replace placeholders; do not use the page URL shown in the original posts):

<div class="fb-page" data-href="https://www.facebook.com/YourPageName" data-tabs="timeline" data-width="340" data-height="500" data-small-header="false" data-hide-cover="false" data-show-facepile="true">
  <blockquote cite="https://www.facebook.com/YourPageName" class="fb-xfbml-parse-ignore">
    <a href="https://www.facebook.com/YourPageName">Your Page Name</a>
  </blockquote>
</div>

Most cases resolve after removing visibility/restriction settings or switching outdated Like Box code to the current Page Plugin and using the Page ID.

i am still waiting for help

thank you for help problem has been solved

What was your solution?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.