Specific fb-comments - facebook

Im trying to create a application for users to add to fan pages and applications
im using fb-comments and every times its added to a new fan page it loads the same comments from a different page..
what im asking is could someone help me and tell me how to make unique ids for each page the fb-comments has been added too
thanks

Obviously you need a dynamic and unique page (with the comments plugin) for every app installation.
So if your app has been installed on Facebook page XXXXXX, then page https://productdomain.com/pages/XXXXXX will be loaded with the comments plugin related to that page only.

Related

Add custom tab to facebook page using different urls

hi to all and tx for your support.
until now to add a custom tab to facebook page i use this url
https://www.facebook.com/dialog/pagetab?app_id=APP-ID&redirect_uri=APP-URL
in this way i add correctly the Secure Page Tab URL to my facebook page.
my problem is that i need to add different tabs related to different urls inside the same application. i need to add for example a tab called "CONTACT" related to APP-URL/contact, another tab called "PRODUCTS" related to APP-URL/products and so on. i don't want create more than one facebook application to do this, is it possibile?
That is impossible, you can´t install an App more than one time per Page. You can only show different content depending on the Page by reading the Page ID in the signed_request parameter.
In other words: One App can be installed on several Pages, but one App can only be installed one time per Page.
Information about how to use the signed_request parameter can be found in many Stackoverflow threads, for example: how to read facebook signed_request to get user_id
It´s a simple POST parameter and you need to parse it. Just debug the result and you will see the Page ID.

Creating a simple facebook page tab

What happend to the good old page tab?
How can I create a simple page tab and show some individual content from my website?
Even the original facebook docs seems to be not up to date: https://developers.facebook.com/docs/appsonfacebook/pagetabs
I already created an facebook app and managed to show my own content. But I have no idea how to move that "app" into my facebook page as a tab.
Can anybody help me getting started and create a simple page tab?
It's in the docs, see
https://developers.facebook.com/docs/graph-api/reference/page/tabs/#Creating
You have to do a POST /{page_id}/tabs with the outlined fields, as in the docs.

How do I migrate Facebook Comments from one site to another?

Hi i'm The owner of a Facebook app with this ID: 187382088033833.
I've made new website, and i want to recover my old comments made with my application.
E.g. in this page, in the old version i got a lot of comments: http://www.youris.com/Environment/Bees/Bees_restored_to_health_in_Italy_after_this_springs_neonicotinoidfree_maize_sowing.kl
why now i can't see the old comments?
can you help me?
According to the Facebook Comments Social Plugin documentation, comments are tied to a URL for the page that they were made on. Migrating to a new domain, or moving your page to a new URL, without keeping your comment social plugin URL setting the same as what it was in the past, will cause you to lose your comments.
I would try changing your href setting on your plugin to the old URL for the page you're loading. You may have to maintain that old page as a redirect to the new page should Facebook try to verify it's existence before rendering the comments plugin, or should someone click a link that is published to their news feed so they get redirected to the appropriate place.

After creating an app wont show app page in any links or url

I have made many apps and have many client pages, but for some reason I just created a custom tab and there is no visit app page link on left side. Also I typed in the url for the app page and it said "facebook app not found", but it shows if I add static html: I Frame tabs
Facebook announcing that they will remove all App Profile Pages on February 1st, 2012.
You will find answere here: https://developers.facebook.com/blog/post/611/
the profile page is normaly found via this url:
https://www.facebook.com/apps/application.php?id=your app id
The new applications won't get a page automatically ... to add you application check de docs here : https://developers.facebook.com/docs/appsonfacebook/pagetabs/
It is possible to create a page per application, these will be similar to normal pages ( or fan pages )
Hope this helps, cheers!

Facebook pages question

I have a few questions that I hope some can help with, I am creating a facebook page for a business and they are wanting to display a list of products, that are pulled directly from there own website, is it possible to pull an XML feed from the website, then display the data using FBML? Secondly is it possible to only show certain content if the user has 'liked the page'?
Thanks
You will have to do this with a script on your server. E.g. a PHP-script which fetches the XML and outputs FBML.
FBML has been deprecated so building something with it is risky. It might stop working suddenly.
For showing content only to users that liked you fan page you can use following:
<fb:visible-to-connection>
Content for fans goes here
<fb:else>
You are not a fan, you do not have access to this content
</fb:else>
</fb:visible-to-connection>
For XML displaying of product you will have to build a facebook application that will run in fan tab tab.