account |
Social Account
Catalog: Odoo
Schema: social
Documentation:
A social.account represents an actual account on the related social.media.
Ex: A Facebook Page or a Twitter Account.
These social.accounts will then be used to send generic social.posts to multiple social.accounts.
They are also used to display a 'dashboard' of statistics on the 'Feed' view.
Account statistic fields are 'computed' manually through the _compute_statistics method
that is overridden by each actual social module implementations (social_facebook, social_twitter, ...).
The statistics computation is run manually when visualizing the Feed.
The data in this table is partitioned per value of the column.
This is a read-only table. The Odoo API may not support changing the data or the Invantive SQL driver for Odoo does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Odoo API.
Table Columns
The columns of the table account are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
active |
boolean |
Active |
☐ |
|
audience_trend |
decimal |
Audience Trend |
☐ |
Percentage of increase/decrease of the audience over a defined period. |
audience |
int32 |
Audience |
☐ |
General audience of the Social Account (Page Likes, Account Follows, ...). |
company_id_label |
string |
|
☐ |
Link an account to a company to restrict its usage or keep empty to let all companies use it. |
company_id |
string |
|
☐ |
Link an account to a company to restrict its usage or keep empty to let all companies use it. |
create_date |
datetime |
Created on |
☐ |
|
create_uid_label |
string |
|
☐ |
|
create_uid |
string |
|
☐ |
|
display_name |
string |
Display Name |
☐ |
|
engagement_trend |
decimal |
Engagement Trend |
☐ |
Percentage of increase/decrease of the engagement over a defined period. |
engagement |
int32 |
Engagement |
☐ |
Number of people engagements with your posts (Likes, Comments, ...). |
facebook_access_token |
string |
Facebook Access Token |
☐ |
Facebook Page Access Token provided by the Facebook API, this should never be set manually.It's used to authenticate requests when posting to or reading information from this account. |
facebook_account_id |
string |
Facebook Account ID |
☐ |
Facebook Page ID provided by the Facebook API, this should never be set manually. |
firebase_admin_key_file |
byte[] |
Firebase Admin Key File |
☐ |
|
firebase_project_id |
string |
Firebase Project ID |
☐ |
|
firebase_push_certificate_key |
string |
Firebase Push Certificate Key |
☐ |
|
firebase_sender_id |
string |
Firebase Sender ID |
☐ |
|
firebase_use_own_account |
boolean |
Use your own Firebase account |
☐ |
|
firebase_web_api_key |
string |
Firebase Web API Key |
☐ |
|
has_account_stats |
boolean |
Has Account Stats |
☐ |
Defines whether this account has Audience/Engagements/Stories stats.Account with stats are displayed on the dashboard. |
has_trends |
boolean |
Has Trends? |
☐ |
Defines whether this account has statistics tends or not. |
id |
int32 |
ID |
☐ |
|
image |
byte[] |
Image |
☐ |
|
instagram_access_token |
string |
Instagram Access Token |
☐ |
Instagram Access Token provided by the Facebook API, this should never be set manually.It's used to authenticate requests when posting to or reading information from this account. |
instagram_account_id |
string |
Instagram Account ID |
☐ |
Instagram Account ID provided by the Facebook API, this should never be set manually. |
instagram_facebook_account_id |
string |
Instagram Facebook Account ID |
☐ |
Facebook Account ID provided by the Facebook API, this should never be set manually.The Instagram ("Professional") account is always linked to a Facebook account. |
is_media_disconnected |
boolean |
Link with external Social Media is broken |
☐ |
|
linkedin_access_token |
string |
LinkedIn access token |
☐ |
The access token is used to perform request to the REST API |
linkedin_account_id |
string |
LinkedIn Account ID |
☐ |
|
linkedin_account_urn |
string |
LinkedIn Account URN |
☐ |
LinkedIn Account URN |
media_id_label |
string |
|
☐ |
Related Social Media (Facebook, Twitter, ...). |
media_id |
string |
|
☐ |
Related Social Media (Facebook, Twitter, ...). |
media_type |
string |
Media Type |
☐ |
Used to make comparisons when we need to restrict some features to a specific media ('facebook', 'twitter', ...). |
name |
string |
Name |
☑ |
|
notification_request_body |
string |
Notification Request Text |
☐ |
|
notification_request_delay |
int32 |
Notification Request Delay (seconds) |
☐ |
|
notification_request_icon |
byte[] |
Notification Request Icon |
☐ |
|
notification_request_title |
string |
Notification Request Title |
☐ |
|
social_account_handle |
string |
Handle / Short Name |
☐ |
Contains the social media handle of the person that created this account. E.g: '@odoo.official' for the 'Odoo' Twitter account |
stats_link |
string |
Stats Link |
☐ |
Link to the external Social Account statistics |
stories_trend |
decimal |
Stories Trend |
☐ |
Percentage of increase/decrease of the stories over a defined period. |
stories |
int32 |
Stories |
☐ |
Number of stories created from your posts (Shares, Re-tweets, ...). |
twitter_oauth_token_secret |
string |
Twitter OAuth Token Secret |
☐ |
|
twitter_oauth_token |
string |
Twitter OAuth Token |
☐ |
|
twitter_user_id |
string |
Twitter User ID |
☐ |
|
utm_medium_id_label |
string |
|
☐ |
Every time an account is created, a utm.medium is also created and linked to the account |
utm_medium_id |
string |
|
☐ |
Every time an account is created, a utm.medium is also created and linked to the account |
website_id_label |
string |
|
☐ |
This firebase configuration will only be used for the specified website |
website_id |
string |
|
☐ |
This firebase configuration will only be used for the specified website |
write_date |
datetime |
Last Updated on |
☐ |
|
write_uid_label |
string |
|
☐ |
|
write_uid |
string |
|
☐ |
|
youtube_access_token |
string |
Google Access Token |
☐ |
Access token provided by the YouTube API, this should never be set manually. |
youtube_channel_id |
string |
YouTube Channel ID |
☐ |
YouTube Channel ID provided by the YouTube API, this should never be set manually. |
youtube_refresh_token |
string |
Google Refresh Token |
☐ |
Refresh token provided by the YouTube API, this should never be set manually. |
youtube_token_expiration_date |
datetime |
Token expiration date |
☐ |
Expiration date of the Access Token provided by the YouTube API, this should never be set manually. |
youtube_upload_playlist_id |
string |
YouTube Upload Playlist ID |
☐ |
'Uploads' Playlist ID provided by the YouTube API, this should never be set manually. |
01-03-2023 15:29 Version 22.1.135-BETA+3826