We’re rewarding the question askers & reputations are being recalculated! Read more.
12

The drupal 7 Metatags module has built-in Facebook opengraph support as an add-on module. If your specific metatag is not covered, the Meta tags module allows you to add it manualy. Although not recommended, if you need custom code for specific pages, you may use the theme's preprocess hook. For example, here is the one I wrote on the preprocess-page.inc ...


7

The tags are stored by key, so using a different key for each should do the trick: $delta = 0; foreach ($images as $image) { $element = array( '#tag' => 'meta', '#attributes' => array( "property" => "og:image", "content" => $image, ), ); drupal_add_html_head($element,'...


6

All you need is to override the panels_default_style_render_region function. Open your template.php file that can be found here: /sites/all/themes/YOURTHEME/ Create a new function in end of the file function YOURTHEME_panels_default_style_render_region($vars) { $output = ''; $output .= implode('', $vars['panes']); return $output; }


6

You should use the Twitter module. This module provides API integration with the Twitter microblogging service. Out of the box, it allows users to: Associate one or more Twitter accounts with their Drupal user account List tweets in different ways thanks to Views Post to their own Twitter account or a site-wide Twitter account whenever they ...


5

I am able to do it without statuses. But I used formblock, rules, heartbeat. I created a content type wall post with user reference field and body field. I showed the node/add/wall-post block on profile page using formblock. I created form_alter to set default value of user reference field to profile autor id. I hid the user reference field using css. I ...


5

Yes, but it's under development. It's called statuses.


5

Did you test the page with the Facebook Debugger? Remember that Facebook caches page info, so changes don't appear immediately. A side effect of the debugger is that it clears the cache when you test a URL, so changes get picked up. If you wan to use a specific image, you need to be sure it explicitly has an og:image element in the header. I am pretty ...


5

Drupal for FaceBook is the one you need. You can configure application settings and which information you want to get from users, such as email address. Unlike other suggestions, this module does not rely on third party providers and registrations other than Facebook.


5

Inside a template_preprocess_node() I have done: /** * Implements template_preprocess_node(). */ function MYTHEME_preprocess_node(&$variables) { $node = $variables['node']; $variables['full_url'] = url('node/' . $node->nid, array('absolute' => TRUE)); } Then in my node.tpl.php, I have <?php // http://developers.facebook.com/docs/...


5

The proper way to import an RSS feed and have its data displayed in a view is by creating nodes from the feed data. This is what the Feeds module accomplishes. You will need to define two content types: one to be used by the feed importer (ex. "Facebook Feed Importer") and one for the feed items themselves (ex. "Facebook Feed Item"). In the feeds importer: ...


5

Do module load include of twitter.inc in which above function was defined.. .module files are automatically included, but .inc are not. So you need to include them using above function... module_load_include('inc', 'twitter', 'twitter'); dpm(module_load_all()); // returns 1 dpm(module_exists('twitter')); // returns 1 dpm(twitter_account_load('@twitter'));


5

Go to content type's manage display section and select Teaser tab on top right. There you can change the display settings of the teaser.


4

Have you read the powerful README.txt file inside the module. It says you have to install the facebook-php-sdk. The instructions in the readme are pretty clear. The error is thrown because it can't find the file.


4

To annotate images in Drupal 7: Imagefield Marker http://drupal.org/project/imagemarker See also: Image Annotations in Drupal 7 Very good multiple image uploader in Drupal 7: Media module http://drupal.org/project/media (Quick way to get this is to create a free drupalgardens.com account and export the whole Drupal 7 code) Comments are built-in in Drupal ...


4

You have to alter both form using hook_form_alter and add a markup field with value fboauth_action_display('connect') $form[fb_connect] = array( '#markup' => fboauth_action_display('connect'), );


4

I would use the Meta Tags module. It makes the Facebook Open Graph information easy to update and configurable per node, if necessary.


4

Approach 1: Menu Badges Use the Menu Badges module to add such notifications to any menu item and/or menu tab of your choice. Here are some details about it (from its project page): Provides a method for adding iOS-style badges to menu items. (see screenshot) Adding Badges to Menus Once enabled, go to Administration > Structure > ...


4

Just use "Full HTML" input format and paste the iframe snippet in the source view of the block (e.g click "Source" on rich-text editor toolbar first )


4

You are looking for Entity External Rating module. Check the site using this module. This module can be used to implement a rating system based on external sources. What that means is that the actual rating, voting or whatever action, happens on an external application (for example on Facebook), and the results are fetched into your system. By ...


4

We had the same exact issue using the above configuration. It turned out that I had a rule enabled to redirect the user to a page upon login. When I disabled the above rule everything went back to normal Probably a conflict between modules. Thanks, Leonidas


4

This module implements networks by harcoding in the module's code. Because it is not much clean way how to implement modules for this use-case and this module is not widely used, I recommend you to use somethink different. If you dont't want to include third party scripts to your site (they can spy your users and slows down page) you can use this module: ...


3

You can also look into the Open Graph meta tags module which allows you to specify which fields Facebook looks at when constructing its likes.


3

You should check out Facebook Autopost. There is a video tutorial on how to set up everything to do it easily. With this module you will be able to post Links, Posts, Events, Questions, … linked to Drupal events.


3

Because you are very inexperienced with Drupal, you don't know that your question is actually a set of several questions. If you never have used Drupal before, you must understand a few basic things about Drupal, then learn about how to install it, and how to administrate (and customize) your Drupal to add the features that you want. Also, Drupal has ...


3

Maybe should you try ServiceLinks, instead. Very straightforward to implement. My two cents.


3

I've tried out all of the current suggestions, have used both Drupal for Facebook and FBConnect on sites in non-trivial ways, and only pain lies down those roads. If all you need is authentication and maybe a few imported user profile fields (such as e-mail) go with FBOauth. Its newer, but is far easier to set up and use, and far easier to build off of if ...


3

There's a relatively new pair of modules that I think would be great to use for this: Message and Message-notify. Message is basically a framework for creating "messages", which in your case would be notification items. One cool thing is that these are actually all created as entities, so it would be easy to show then in a dropdown block, have an All ...


3

For real time integration you can use nodejs module. This module integrates Node.js with Drupal. It provides an API that other modules can use to add realtime capabilities to Drupal, specifically enabling pushing updates to open connected clients.


3

I made a test with this values <meta name="twitter:url" content="http://liberalgeek.com/content/why-do-atheists-celebrate-christmas" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:creator" content="@kennywyland" /> <meta property="twitter:description" content="I can&#039;t speak for all atheists, I can only ...


3

I was finally able to resolve the problem. Just posting the solution in case it comes useful to anyone else. As it turned out, the problem with Facebook share was display suite. The nodes that it was not working for were, of course, not random as it initially looked. They were the nodes which were using display suite. I didn't manage to find a solution to ...


Only top voted, non community-wiki answers of a minimum length are eligible