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

  • SEARCH
  • Home
  • 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 1014733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:17:37+00:00 2026-05-16T10:17:37+00:00

I’m a total newbie to Facebook programming and would like to know, as a

  • 0

I’m a total newbie to Facebook programming and would like to know, as a follow-up to this question, whether the following is possible.

I have a collection of events on a web site. I’m fetching them from several RSS feeds, and have total freedom in how to output them – e.g. as single pages, so there is a permalink for every event.

I would like to

  1. Create a Facebook “like” button for each of the events without entering them into the Facebook system in any way

  2. Read back the “like” status of the current user for any one of those events via JavaScript or on server side so I can display these events in a “events I like” list. The important thing is that I need to be able to read the status later = on subsequent page requests, not only in the moment the user clicks the “like” button.

@karim79’s answer does answer the first part, but not the second yet.

this page contains all the information I need to create the button: Social plugins > Like button there also is an FBML event to react to when somebody signs up. But that still doesn’t enable me to check the “like” status of a returning user.

Is there any way to do that?

  • 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-16T10:17:38+00:00Added an answer on May 16, 2026 at 10:17 am

    A brain-dead way of automatically generating ‘like’ links for your site (which I recently implemented – so I know works) would be to simply generate the ‘href’ parameter which (facebook’s) like.php reads from the iframe source. Just build the iframe code using their widget thingie and use PHP to dynamificate the href parameter:

    <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode($url); ?>%2F&amp;layout=button_count&amp;show_faces=false&amp;width=50&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:75px; height:21px;" allowTransparency="true"></iframe>
    

    You can customise it to a limited extent, just see the attributes list right under the button creation widget.

    Using fbml (which I was too lazy to incorporate, and somewhat reluctant due to the fact that I would have had to include yet-another-library):

    <fb:like width="200" show_faces="no" href="<?php echo $url; ?>"></fb:like>
    

    There’s a neat list of examples here: http://fbrell.com/xfbml/fb:like

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

Sidebar

Related Questions

No related questions found

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.