sowasred2012
sowasred2012

Reputation: 735

Facebook Likes on pages within a page tab app

I'm building a page tab app on Facebook that allows users to create and display their own entries, and I want to be able to have a share and a like button specific to each entry.

I'm using the app_data parameter to pass the path to the page within the app, and it works perfectly with the share button - a user can share their entry to their wall, and that share links back to the appropriate page.

However, when I try to do the same thing with Likes, it instead shows the total likes for the page the page tab is a child of. Has anyone had a similar problem or could point me in the right direction to sorting it out?

Cheers!

Upvotes: 0

Views: 286

Answers (1)

C3roe
C3roe

Reputation: 96373

You can’t like specific page tab contents – Facebook will count all likes for the Facebook page, no matter what app ID and possibly app_data the URL contains.

You could however like your own URLs that are loaded inside the page tab frame – and have them redirect to themselves embedded into the iframe with JavaScript if a real user is visiting them.

Upvotes: 1

Related Questions