Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Social Marketing
  3. Social X (Twitter) Marketing - Community v 18.0
  4. Sales Conditions FAQ

Social X (Twitter) Marketing - Community

by ndd https://duong-odoo-apps.odoo.com
Odoo

$ 108.98

v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies Show
Social Media
Lines of code 5125
Technical Name d_social_x
LicenseOPL-1
Websitehttps://duong-odoo-apps.odoo.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies Show
Social Media
Lines of code 5125
Technical Name d_social_x
LicenseOPL-1
Websitehttps://duong-odoo-apps.odoo.com
  • Description
  • Documentation
  • License

X (TWITTER) SOCIAL FOR ODOO COMMUNITY

Enterprise-Grade X Integration & Management

X (Twitter) Integration Banner

Seamlessly integrate your X (Twitter) accounts with Odoo Community Edition. Manage posts, engage with comments, publish content, and track analytics using the latest X API v2.

Key Features

  • OAuth 2.0 Authentication: Secure integration with X API v2 using PKCE
  • Multiple Accounts: Connect and manage multiple X accounts
  • Advanced Analytics: Track likes, retweets, replies, and impressions
  • Comment Management: Reply to comments and manage conversations directly in Odoo
  • Media Publishing: Post text, images, videos, and GIFs with validation
  • Real-time Sync: Automatic synchronization of posts and engagement metrics
  • Content Validation: Built-in validation for X API constraints (280 chars, file sizes)
  • Preview System: Dynamic X post preview with authentic styling

X Content & Account Synchronization

Automatically sync your X posts and account metrics directly into Odoo Community. Keep track of all your X content and performance data in one centralized location.

  • Automatic content synchronization from X accounts using X API v2
  • Track engagement metrics: likes, retweets, replies, quotes, and impressions
  • Smart filtering to exclude replies and retweets for clean content sync
  • Automatic media attachment processing with preview images
  • Clean text processing to remove t.co URLs and normalize content
X Content Synchronization

Comment Management & Engagement

Manage all your X conversations directly from Odoo Community. Reply to comments, view threaded conversations, and engage with your audience without leaving your dashboard.

  • View all comments and replies on your X posts in real-time
  • Reply to comments with text and media attachments
  • Threaded conversation view with nested replies
  • Immediate comment display with data URI for instant media preview
  • Smart comment hierarchy with direct comments and nested replies
  • Author resolution with profile images and usernames
X Comment Management

Advanced Media Upload & Publishing

Publish rich content to X with advanced media upload capabilities. Support for images, videos, GIFs with chunked upload, retry logic, and comprehensive validation.

  • Chunked media upload with adaptive chunk sizes for reliability
  • Support for images (JPG, PNG, GIF, WEBP), videos (MP4, WEBM), and more
  • Automatic retry logic for failed uploads with progressive chunk reduction
  • Asynchronous video processing with status polling
  • Media expiry tracking to prevent timeout errors
  • Comprehensive file validation (size, format, X API constraints)
X Media Upload

Dynamic Post Preview & Validation

Preview your X posts exactly as they will appear on the platform. Built-in validation ensures your content meets X API requirements before publishing.

  • Authentic X post preview with real styling and layout
  • Dynamic media display with support for multiple images and videos
  • Real-time character count validation (280 character limit)
  • File size and format validation before upload
  • Media constraint validation (4 images, 1 video/GIF per post)
  • User-friendly error messages with specific guidance
X Post Preview

Comprehensive Analytics & Insights

Track detailed analytics for each X post and your overall account performance. Make data-driven decisions to optimize your X marketing strategy.

  • Track likes, retweets, replies, quotes, and impressions for each post
  • Monitor account metrics: followers, following, total tweets
  • Automatic token refresh to maintain continuous access
  • Real-time engagement tracking with comment and reply counts
  • Historical data preservation for trend analysis
  • Performance insights to optimize posting strategy
X Analytics Dashboard

Documentation

Please go to documentation tab in the right side to see how to configure X developer app and in Odoo as well

Documentation Tab

Support

For support, feature requests, or custom development, please contact us:

duongodooapps@gmail.com

duong-odoo-apps.odoo.com

X (Twitter) Social Integration Guide

This comprehensive guide will walk you through setting up X (Twitter) integration with your Odoo Community Edition instance using the d_social_x module.

Prerequisites

Before starting, ensure you have:

  • Odoo Community Edition 18.0 or later
  • The d_social module installed and configured
  • A valid X (Twitter) account
  • Administrator access to your Odoo instance
  • A publicly accessible Odoo instance (required for OAuth callbacks)

1. Setting up X Developer Account & App

1.1. Create X Developer Account

  1. Visit the X Developer Portal at https://developer.x.com/
  2. Click the "Subscribe now" button to create a developer account
  3. You can sign up using your existing X account or Google account
X Developer Portal homepage

1.2. Create X Application

  1. Navigate to the "Projects & Apps" tab in your developer dashboard
  2. Select your "Default Project" (or create a new project if needed)
  3. Click on "User authentication settings" and then "Edit"
X Project settings page

1.3. Configure App Permissions

  1. App permissions: Select "Read and write and Direct message"

  2. Type of App: Choose "Web App"

  3. Callback URLs: Enter your Odoo callback URL using this format:

    https://{your-odoo-instance}/social_x/authentication

    Example: https://mycompany.odoo.com/social_x/authentication

  4. Website URL: Enter your company website or Odoo instance URL

  5. Click "Save" to apply the settings

Configuring X app permissions and callback URL

1.4. Get API Credentials

  1. Return to the "Projects & Apps" tab
  2. Select your project
  3. Navigate to the "Keys and tokens" tab
  4. Copy the Client ID
  5. Click "Generate" next to Client Secret and copy the Client Secret
X API credentials - Client ID and Client Secret

Warning

Store your Client Secret securely. It will only be shown once and cannot be retrieved later.

2. Configure Odoo Community Module

2.1. Install d_social_x Module

  1. Go to Apps menu in Odoo
  2. Search for "d_social_x" or "X Social"
  3. Click Install on the "X (Twitter) Social Marketing - Community" module
  • Note: This module is designed for Odoo Community Edition and requires the d_social module

2.2. Configure X API Credentials

  1. Navigate to Settings > Social Media > X Configuration
  2. Enter your X API credentials:
    • X Client ID: Paste the Client ID from X Developer Portal
    • X Client Secret: Paste the Client Secret from X Developer Portal
  3. Click Save to store the configuration
Configuring X API credentials in Odoo

3. Connecting X Accounts

3.1. Link X Account

  1. Go to Social Marketing > Configuration > Social Accounts
  2. Click Create to add a new social account
  3. Select X (Twitter) as the social media platform
  4. Click Link Account button
  5. You'll be redirected to X for authorization
  6. Log in to your X account and authorize the application
  7. You'll be redirected back to Odoo with the account connected
Linking X account in Odoo

3.2. Account Synchronization

Once connected, the module will automatically:

  • Sync your account information (followers, following, bio)
  • Import your recent posts with engagement metrics
  • Set up automatic token refresh for continuous access
X account synchronization in Odoo

4. Publishing Content to X

4.1. Creating X Posts

  1. Navigate to Social Marketing > Posts
  2. Click Create to compose a new post
  3. Select your X account(s) from the social accounts field
  4. Write your content (maximum 280 characters)
  5. Optionally attach media files (images, videos, GIFs)
  6. Use the X preview to see how your post will appear
  7. Click Post Now or schedule for later
Creating X posts in Odoo

4.2. Media Upload Features

The module supports advanced media upload capabilities:

  • Chunked upload: Large files are uploaded in chunks for reliability
  • Retry logic: Automatic retry with smaller chunks if upload fails
  • Async processing: Videos and GIFs are processed asynchronously
  • Progress tracking: Real-time upload progress and status updates

5. Managing Comments and Engagement

5.1. Viewing Comments

  1. Go to Social Marketing > Live Posts
  2. Find your X post and click on it
  3. Click the View Engagements button
  4. All comments and replies will be loaded in real-time

The engagement dialog shows:

  • Direct comments on your post
  • Nested replies to comments
  • Author information with profile pictures
  • Media attachments in comments
  • Engagement metrics (likes, replies, retweets)
Managing X comments in Odoo

5.2. Replying to Comments

  1. In the engagement dialog, find the comment you want to reply to
  2. Click the Reply button
  3. Type your response
  4. Optionally attach media files
  5. Click Send Reply

The reply will be posted immediately to X and displayed in Odoo without the "processing" delay.

5.3. Creating New Comments

  1. In the engagement dialog, use the comment box at the top
  2. Type your comment
  3. Attach media if desired
  4. Click Post Comment

Your comment appears immediately with any attached media displayed inline.

6. Analytics and Insights

6.1. Post Analytics

Each X post in Odoo tracks comprehensive metrics:

  • Likes: Number of users who liked the post
  • Retweets: Number of times the post was retweeted
  • Replies: Number of direct replies to the post
  • Quotes: Number of quote tweets
  • Impressions: Total number of times the post was viewed
X post analytics in Odoo

6.2. Account Insights

Account-level metrics are automatically synced:

  • Followers count: Current number of followers
  • Following count: Number of accounts you follow
  • Tweet count: Total number of tweets posted
  • Likes count: Total likes received across all posts

6.3. Automatic Sync

The module automatically:

  • Refreshes access tokens before they expire
  • Syncs new posts and updated metrics
  • Updates account information
  • Maintains historical data for trend analysis

7. Advanced Features

7.1. Post Synchronization

The module uses the X API v2 /users/{id}/tweets endpoint for reliable post synchronization:

  • Smart filtering: Automatically excludes replies and retweets
  • Media processing: Downloads and stores media attachments
  • Text cleaning: Removes t.co URLs and normalizes content
  • Batch processing: Efficient handling of large post volumes

7.2. Comment Hierarchy

Comments are organized in a hierarchical structure:

  • Direct comments: Comments directly on your original post
  • Nested replies: Replies to other comments, properly threaded
  • Author resolution: Profile pictures and usernames from X API
  • Media support: Images and videos in comments and replies

7.3. Error Handling

Robust error handling includes:

  • Token refresh: Automatic handling of expired tokens
  • Rate limiting: Respects X API rate limits
  • Upload failures: Retry logic for failed media uploads
  • Network issues: Graceful handling of connectivity problems

8. Troubleshooting

8.1. Common Issues

"Authorization code was invalid" error:

  • Ensure your callback URL is correctly configured in X Developer Portal
  • Check that your Odoo instance is publicly accessible
  • Verify the Client ID and Client Secret are correct

"Failed to upload media" error:

  • Check file size limits (5MB for images, 512MB for videos)
  • Ensure file format is supported
  • Try uploading smaller files or different formats

"Token refresh failed" error:

  • Re-link your X account in Odoo
  • Check that your X app has the correct permissions
  • Ensure offline.access scope is included in your app configuration

8.2. Debug Information

Enable debug mode in Odoo to see detailed logs:

  1. Go to Settings > Developer Tools > Activate Developer Mode
  2. Check the server logs for detailed error messages
  3. Look for entries starting with "X API" or "d.x.service"

8.3. Support Resources

  • X API Documentation: https://docs.x.com/x-api
  • OAuth 2.0 Guide: https://docs.x.com/x-api/authentication/oauth-2-0
  • Module Support: duongodooapps@gmail.com

9. Best Practices

9.1. Content Strategy

  • Optimal posting times: Use Odoo's scheduling feature to post when your audience is most active
  • Content variety: Mix text posts, images, and videos for better engagement
  • Hashtag usage: Include relevant hashtags to increase discoverability
  • Character optimization: Use the full 280 characters effectively

9.2. Engagement Management

  • Timely responses: Reply to comments quickly to maintain engagement
  • Professional tone: Maintain your brand voice in all interactions
  • Media in replies: Use images and GIFs to make replies more engaging
  • Monitor conversations: Regularly check the engagement dialog for new comments

9.3. Analytics Utilization

  • Track performance: Monitor which types of content perform best
  • Engagement rates: Calculate engagement rates to measure success
  • Follower growth: Track follower growth over time
  • Content optimization: Use insights to improve future posts

Conclusion

The d_social_x module provides a comprehensive solution for managing your X (Twitter) presence directly from Odoo Community Edition. With features like real-time comment management, advanced media upload, comprehensive analytics, and robust error handling, you can effectively manage your X marketing strategy without leaving your Odoo environment.

This comprehensive guide should help you successfully set up and use X integration with your Odoo Community Edition instance. For any additional questions or support, please don't hesitate to contact our support team.

Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with