top of page

Market Research Group

Public·11 members

Facebook Like Module Drupal 7

Note: Like boxes are meant to like a certain existing content that has a valid public URL, so the button may not work until the site is online. This means that the module might not work properly in your local environment

facebook like module drupal 7

Rather than having to manually copy/paste the Like this on Facebook code for each piece of content you (or your users) create, this module will automatically add that code to the end of each chosen node type. You are able to add a Like button which likes a given URL (static, e.g. your homepage) or/and put a dynamic Like button on your page to like the page you are actually visiting.

Page Plugin provides an optional submodule named fb_likebox_patterns since version 7.x-1.4 (including the 7.x-2.x branch), allowing full integration with the module patterns.Patterns provides a powerful way to perform automatic system configuration. A set of patterns with the most common configurations of Facebook Page Plugin are provided in the submodule, and the configuration of the module with patterns can be done in just one click. You can also export your current configuration in order to re-use it, share it, version-control it, etc. Further instructions on how to use patterns with Page Plugin can be found here.

When you create a static block for text format (drop-down bellow body field) select "plain text" so drupal shouldn't filter out some tags. Under visibility settings you can specify on what pages this block should be shown. For more powerful mechanism for specifying on what page to display the block look for "context" module.

i try to implement the facebook share and like button into my website in drupal..but its not getting buttons from the just displaying the code what i put inthe module..thanks in advance..

That's because you output html entities (like "<") in your theme function instead of actual HTML code.Replace everything in the "$output" variable with the code you got from facebook developer like this :

If you want to add the Facebook like button to your Drupal 7 site, the process is relatively straightforward. To get started, you will need to download the Facebook Like Button module from the modules section of your Drupal site. Once you have downloaded the module, extract it to the sites/modules folder.

Once you have enabled the module, go to the admin/config/fblikebutton page to configure the module. You will be presented with two options for the Facebook like button: Dynamic and Static. Depending on your desired behavior for the like button, you will need to choose one of these options.

By using the Facebook Like Button module, you can easily add a powerful social sharing tool to your Drupal 7 site. This module eliminates the need to manually copy and paste the Facebook like code for each piece of content you create. Instead, the code will automatically be added to the end of each chosen node type, making it quick and easy to get started with social sharing on your site.

For the facebook comments/share/etc I get the wrong thumbnail and as far as I've googled, it's due to the og:image meta tag. I'm using Drupal for Facebook module, is there a way to alter it? I found that I have to place 'rel="image_src"' somewhere, but where? At the image tag? And how can I do that using views?

We need a realistic goal for implementing our module, and I think Facebook integration is the perfect idea. We will allow the user to "like" our articles by adding a Facebook 'Like' button to each of them. The second task of our module will be to show, in the sidebar, which articles were liked by the users.

Drupal searches for contributed modules in the sites/all/modules folder of your Drupal installation. In case an administrator decides to have multiple sites driven by one Drupal installation, the path to the contributed module will look like sites/subdomain/modules.

First, let's choose a name for our module. Since its task will be to add Facebook functionality to our site, I assume "facebook" will be a proper name for it. We can start preparing the required directory structure for developing our module.

Inside sites/all create a subfolder, named modules. We will store our contributed modules in a subfolder named custom. The Facebook module will reside in the facebook subdirectory of the custom directory. The final structure will look like so:

The code above reveals the required information to be placed in an info file. Notice that we've referenced the facebook.module in the files array. This file will contain our module's code. For the moment, go ahead and create an empty file in our folder.

This module is quite alike to the Easy Social module but it has features which made us add it to this list. At first, the Drupal ShareBar module lets you easily add a "floating" social media submission bar on your website. It means that when you scroll a page, share buttons will move along with content. At second, this module provides more networks which you can integrate with a website. If in the Easy Social module it was only Twitter, LinkedIn, Facebook, and Google Plus, here you can add any from this list:

Choose suitable Drupal modules and improve your website and business. Let users share and like your content and social pages, increase the number of your followers or add the possibility of a real-time messaging.

As the name suggests, this social media module allows you to embed Twitter widgets into the website. You can add the Twitter timeline or a button to your Twitter profile by embedding them as a block or as a field. If embedded as a block you can show your Twitter profile, collection, list or likes from the Twitter page. Twitter Embed Module Link

This module allows adding the social media like and share buttons to certain document. Having them you can add or share this document via your social networks. Twitter, Facebook, Google+ and LinkedIn are available by default. You can add more having edited the template.

The module indicates how many users like the page, allows reading the newest posts of the page and liking them without redirecting the user to his Facebook page. The users with admin access rights can set different Facebook attributes in the block settings.

"The Like Box is a social plugin that enables Facebook Page owners to attract and gain Likes from their own website. The Like Box enables users to: See how many users already like this Page, and which of their friends like it too, Read recent posts from the Page, Like the Page with one click, without having to actually visit the page. This simple module provides a block to integrate this plugin into Drupal, and allows users with 'administer blocks' permission to configure the different attributes provided by Facebook in the block configuration." If you just want a simple block with title, picture and like button, you can very easily configure the block that way."

This module provides you support for social media widget sets (sets of social media icons) that can be displayed as blocks. If you want to display the Twitter tweet button wiothout count you can create a new set or override an existing set and add the "Twitter tweet button (no count)". This approach gives you also a possibility for Facebook, although it is not a "clean" solution: Choosing the "Facebook like button" you can remove the counter by narrowing the "Width".

If you face any issues or if you have any questions, please feel free to reach out to us at In case you want some additional features to be included in the module, please get in touch with us, and we can get that custom-made for you. Also, If you want, we can also schedule an online meeting to help you configure the Drupal OAuth/OpenID Single Sign On module.

NOTE: Confusingly, in the case of Facebook there is another submodule called metatag_facebook. However, it is used only to configure integration with Facebook API's like Facebook widgets and the Facebook Connect single-signon system and is not necessary for rich-media posts to Facebook.


Welcome to the group! You can connect with other members, ge...
bottom of page