account view
GET
/accounts/view/{loginId}This endpoint will display particular social-media account with given loginID
Request
required parameter to identify the api Gateway
Request samples
Responses
Account details displayed successfully
Account details displayed successfully
flag showing if the account requires reconnection
account Id of the social-media account
it will have the access token
it will have the access secret
flag showing if the token is encrypted
time of header expiry
it contains the uniqueId for the social-media profile
URL to social-media account profile picture
Username of the social-media account
URL to the social-media account
uniqueId for the account
color associated with the account
flag showing if the posts on the account require client approval
it carries the setting ID of the social-media account
flag showing status of fb app
any extra data to identify what went wrong
it carries the page access token
flag showing if account is blocked
flag showing if account is locked
flag showing if account is deleted
it carries the companyId of the account creator
it carries the date of account creation
it carries the loginId of the account
it carries the type of account reconnection
it carries the companyId of reconnector
it carries the reason for account disconnect
it carries the date of account disconnect
flag showing if the account is paused
it carries extra params if any
it carries type of access
it carries the name of the social-media for the account
{
"message": "Account details displayed successfully",
"response": {
"isReconnect": false,
"accountId": 5,
"accessToken": "105f89c570c476a2260664602613c9dfa9c580da58e796ab1916976474cf9c65a1a1520ad5d81ef637cbd5015fa6db76d1ded2787ec223bfed66c87150c7f76b509613426f4a925b7d3d8b46c187fd7bbafbea005ea18118b86e8cc312ca0706d5fd868b6cfeb9b9c8571faebab40db13d39e0fb0cb252129ab74c25ea8ed8107003d1125cda088897292c0b517beec2380b016ec48d67542da02b44fa8bbcc01e6698ff96826588d90f0ada40ed8989e64dcf371f0443c5f046bdc07112e84c3e9a2481147a59c4f35e242cae72656d0807d735d93aa47bddbcf813ce92bca90bd616cd3b4afa9e7b3b69a0411b7e414ef403f8382743c5b3cd26d852dcfd2179699112c7b13ffa69d3fad5cad8e8f45b1bd2f85dc1276479afacb59a841f2a3588fe3a7b06821841e85055081456ec8beeef80a5c6f0dc5f373e3251431d7a",
"accessSecret": "a6c6f342a79daed88a21f160fb360182",
"tokenEncrypted": true,
"expiryHeader": "1687213205720",
"profileUniqueId": "115951318050152",
"profilePicture": "https://graph.facebook.com/103622979296406/picture?type=square&access_token=EAAU579TDpf0BAFyuyvEFfE64jIS8V8EzFfN3L1OPS9TodtEoTGiegMpsbJaJKnqH8ys3OUIni4yGZAbP1wyt3zBjABXr0EisRXcg6ClNZCruax7sox40kekRSnsd7MxVUGiZBE8hQj5rVxLO5yT3EQh5ZAcO3CH7t3lEBnb5ZCsw1NNDXW2gTmpxgcDZC7yiatovZBRFWvin0xlS62ABE0hZChYjF4eDIhIMEYMDUDG1sJ5e5gQaPJH6ZBv5oiDu9EmFiTi4Fkm4pTjewMdAk94AuT9ggT5z5ifUBIcK6XtlaQgZDZD",
"accountUsername": "FoodBlog",
"accountUrl": "https://www.facebook.com/FoodBlog-103622979296406/",
"uniqueId": "103622979296406",
"color": "#3b5998",
"clientApprovalApplicable": false,
"settingId": "e96881f5-1231-5b0e-b649-a9fa758de714",
"fbAppInstall": false,
"extraData": {},
"pageAccessToken": "ec3f92c21153998059cd79e516c041e6eb7c50a08fb1fb064137fca501b7df7b923b0f85d8e3b006e73ee0fdebd083cd40fa64edbb6bc71ab9de9f44b3ed88ab318b313bb103f18f2bfced6674d4acd98ff1df874437791548800407a11c032978045625548bb3f8e16f920a439437771251118a1db41f745e99bd39c7b2a4508ac13368a3d7073f3f0ae0d3e4022fdcdc7b8ff4541c1fa09ccd02c95bd6aacf2f771147a9473a4aa218ff322b33b5a14b0033fb2c53b87c24f1fbf2bc92ca60ed85d2c4a429575c643416c386fa15fbd71f6c42c2431bb04ae6dd7576885f69",
"postSharingAccess": {
"hasPermission": true,
"hasTask": true
},
"socialInboxAccess": {
"hasPermission": true,
"hasTask": true
},
"pageAnalyticsAccess": {
"hasPermission": true,
"hasTask": true
},
"isBlocked": false,
"isLocked": false,
"isDeleted": false,
"connectedBy": 103983,
"createdOn": "2023-05-31T09:40:00.686Z",
"loginId": 1019811,
"socialDashboardConnect": true,
"accountReconnectType": "reconnect",
"reconnectedBy": 103983,
"disconnectArea": "fbinvalidToken",
"lastDisconnectOn": "2023-06-01T05:01:31.178Z",
"userAccess": [],
"adminData": [],
"isPaused": false,
"extraParam": {},
"accessType": "O",
"accountType": "facebook-official",
"groups": [],
"scheduleSlots": {
"Sun": [
"06:49 AM",
"11:24 AM",
"04:49 PM"
],
"Mon": [
"06:49 AM",
"11:24 AM",
"04:49 PM"
],
"Tue": [
"06:49 AM",
"11:24 AM",
"04:49 PM"
],
"Wed": [
"06:49 AM",
"11:24 AM",
"04:49 PM"
],
"Thu": [
"06:49 AM",
"11:24 AM",
"04:49 PM"
],
"Fri": [
"06:49 AM",
"11:24 AM",
"04:49 PM"
],
"Sat": [
"06:49 AM",
"11:24 AM",
"04:49 PM"
]
}
}
}