Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

LINE Add Friend

No security coverage Drupal 10–11
View on drupal.org

This module adds a "Add Friend" button to your website that allows visitors to easily add your LINE Official Account as a friend. It uses LINE's official social plugins and can be configured with different sizes, languages, and optional features like displaying the friend count.

This module integrates LINE's Social Plugins, allowing visitors to easily add your LINE account as a friend with one click.

You need to have a LINE Official Account to use the Add friend button.

Features

  • Uses LINE's Social Plugins API for reliable, compliant button generation
  • Flexible Placement: Add the button block to any region on your site using Drupal's standard block system
  • Configurable Display Options:
    • Three button sizes: Normal, Medium (M), and Extra Large (XL)
    • Multi-language support: English, Japanese, Thai, Chinese (Traditional)
    • Optional friend count display
    • Optional home button feature
  • User-Friendly Configuration: Simple admin interface at Configuration → Social Media → LINE Add Friend Button
  • Translation Ready: Includes Japanese translations out of the box

Post-Installation

After enabling the module:

  1. Configure your LINE ID:
    • Navigate to /admin/config/social-media/line-add-friend
    • Enter your LINE Official Account ID (with or without the @ symbol)
    • Choose your preferred display options (size, language, friend count, home button)
    • Save the configuration
  2. Place the block:
    • Go to Structure → Block layout (/admin/structure/block)
    • Click "Place block" in your desired region
    • Find "LINE Add Friend Button" under Social Media category
    • Configure visibility settings if needed
    • Save

The button will now appear on your site according to your block placement settings.

No additional modules are required. The module automatically loads LINE's official JavaScript from their CDN.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Nov 2025
Latest release
9 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Nov 23, 2025