Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7018911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:06:49+00:00 2026-05-27T23:06:49+00:00

I am having an issue logging a LIKE for an application page. It seems

  • 0

I am having an issue logging a “LIKE” for an application page. It seems that the like is not being inserted into the page_fan table. My concern is that I may be trying to LIKE the application page and not the actual page that contains the application as a tab. I have already written the LIKE code and the like does post to my wall etc. but when I perform the me() query against the page_fan table it does note return my uid.

I have tried the LIKE both within my custom page was well as the global LIKE above all canvas pages on FB page.

My question is: Should my code logic LIKE the ApplicationId(Canvas/iframe) or the PageId in which the Tab exists? Or I am totally off base with my logic.

Here is what I have developed and what I have found.

I have created applications that are accessible on the left hand side of a facebook page (tabs). These are canvas or iframe applications that generate a unique AppId when a new application is created.

For example, I am currently adding the AppId of a canvas page as an OG tag in same canvas iframe page.

I then access the following URL and select the page from an existing list that this tab should appear:
http://www.facebook.com/dialog/pagetab?app_id=111111111111111&display=popup&next=http://facebook.myapp.com/canvaspage.html

I wrote the following code to determine the page_id (for example this returned:222222222222222)

//App PageId
var url = 'https://graph.facebook.com/fql?q=SELECT url, id, type, site FROM object_url WHERE url="'+appURL+'"';     
$.getJSON(url, function(data) {
$.each(data['data'], function(index, appPageId) {
    if (appPageId) {
        var appPageId = appPageId['id'];                    
    }
});
});


<!-- Open Graph for the "PAGE" PagId that has a relationship to AppId (id:) below / I have found that this will include a likes variable if GT 0 -->
graph.facebook.com/222222222222222 

{
   "id": "222222222222222",
   "name": "TEST APPLICATION",
   "picture": "http://profile.ak.fbcdn.net/hprofile-ak-ash2/373257_225429330866626_1701496970_s.jpg",
   "link": "http://apps.facebook.com/test-app/",
   "app_id": 111111111111111, // Below ID - also the AppId
   "category": "Website",
   "description": "Test App Description",
   "can_post": true
}


<!-- Open Graph for "APPLICATION"  AppId --->
graph.facebook.com/111111111111111 

{
   "id": "111111111111111",
   "name": "TEST APPLICATION",
   "category": "Lifestyle",
   "subcategory": "Food & Drink",
   "link": "http://www.facebook.com/apps/application.php?id=111111111111111",
   "canvas_name": "test-app",
   "namespace": "test-app",
   "icon_url": "http://static.ak.fbcdn.net/rsrc.php/v1/yT/r/4QVMqOjUhcd.gif",
   "logo_url": "http://static.ak.fbcdn.net/rsrc.php/v1/yq/r/IobSBNz4FuT.gif",
   "weekly_active_users": "2",
   "monthly_active_users": "2"
}

Thanks in advance for your assistance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:06:50+00:00Added an answer on May 27, 2026 at 11:06 pm

    You will want to like the Facebook page, not the app ID. Remember a facebook page can have many App Id’s in it (what facebook calls Page tabs).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having an issue with the 3.1 version of the logging application block... With
Having an issue here that I have tried everything I can think of but
I'm having an issue with a query that currently uses LEFT JOIN weblog_data AS
I'm having an issue with a Flash/Flex erroring in Firefox but not IE. I
Ok, so I was having a very interesting issue with CakePHP 1.3, in that
As a test case for an issue I'm having with application deployment, I built
I am having log4net permission issue from ASP.Net 4.0 web application to write to
I seem to be having some issues while attempting to implement logging into my
I'm having an issue with accessing my downloaded file. I can see that my
I'm having trouble logging the output of an internationalized django variable. My application code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.