Page tree
Skip to end of metadata
Go to start of metadata

Get /facebook/verify_credentials

Validate if the Facebook Account is synchronised correctly

Validate if the Facebook Account is synchronised correctly. Returns the basic information of that account

Request URL

https://{client_id}.salesseek.net/api/facebook/verify_credentials  

Response Type

Response content type: JSON SocialAccount

ModelExample of Response

 

 

Facebook_Account(JSON) {

page_name(string): unique page name in Facebook,

page_thumb(string): complete URL referencing the thumbnail of the Facebook page,

verified(boolean): true or false showing if the credentials entered on the redirected web page are working correctly,

permissions(enum): one of the following values: email, phone, social

}

 

Facebook_Permissions(JSON) {

page_basic_info(int): 1 for true 0 for false for the basic info permissions from this synchronised Facebook page,

installed(int): 1 for true 0 for false for the installation permissions from this synchronised Facebook page,

manage_pages(int): 1 for true 0 for false for the management permissions from this synchronised Facebook page,

public_profile(int): 1 for true 0 for false for accessing the public profile of this synchronised Facebook page,

user_friends(int): 1 for true 0 for false for the permissions to access the friends from this synchronised Facebook page,

}

 

[
	page_name: "SalesSeek Limited"
	page_thumb: "http://graph.facebook.com/111111/picture"
	permissions: {
		basic_info: 1
		installed: 1
		manage_pages: 1
		public_profile: 1
		user_friends: 1
	}
	verified: true
}
 

 

Parameters

ParameterIn / OutRequiredDescriptionParameter TypeData Type
responseOut-All information from the sync Facebook profileJSON

 

 


 

 

DELETE /facebook/deauth

Logs out from the related Facebook account

Logs out the related Facebook account, by de-authenticating the sync is detached

Request URL

https://{client_id}.salesseek.net/api/facebook/deauth  

Response Type

Response content type: boolean

ModelExample of Response

Communication(JSON) {

deauthorized(boolean): True or False if the de-authorizaiton worked correctly

}

{
    deauthorized: true
}

 

Parameters

ParameterIn / OutRequiredDescriptionParameter TypeData Type
 deauthorizedOut-True or false if it was correctly deauthorizedJSON

 


 

Get /twitter/verify_credentials

Validate if the Twitter Account is synchronised correctly

Validate if the Twitter Account is synchronised correctly. Returns the basic information from that account

Request URL

https://{client_id}.salesseek.net/api/twitter/verify_credentials  

Response Type

Response content type: JSON SocialAccount

ModelExample of Response

 

 

Twitter_Account(JSON) {

 contributors_enabled(boolean): true or false if contributors are allowed in this Twitter account,

 created_at(timestamp): Creation date for the Twitter account, formatted as Dtt Mtt DD HH:MM:SS + ms YYYY,

 default_profile(boolean): true or false if contributors are allowed in this Twitter account,

 description(string): Brief description about this Twitter account,

 favourites_count(int): amount of favourites for this Twitter account,

 follow_request_sent(boolean): true or false if the current user sent a follow request,

 followers_count(int): amount of followers of this Twitter account,

 following(boolean): true or false if the current user is following this Twitter account,

 friends_count(int): amount of Twitter users this Twitter account is following,

 geo_enabled(boolean): true or false if location is activated in this Twitter account,

 id(number): unique identifier for this Twitter account, in a number format,

 id_str(string): unique identifier for this Twitter account, in string format

 is_translation_enabled(boolean): true or false if translation is activated in this Twitter account,

 lang(enum): 2 letters to identify the configured language in this Twitter account

 location(string): unique identifier for the city this Twitter Account is configured,

 name(string): unique name for the Twitter profile,

 notifications(boolean): true or false if notifications are activated in this Twitter account,

 profile_background_color(string): Hex reference in RGB for the background color of this Twitter account,

 profile_background_image_url(string): complete URL referencing the background image of this Twitter account,

 profile_background_image_url_https(string): complete URL referencing the background image of this Twitter account in https,

 profile_background_title(boolean): true or false the profile image from this Twitter account includes the title,

 profile_banner_url(string): complete URL referencing the banner image of this Twitter account,

 profile_image_url(string): complete URL referencing the actual image of this Twitter account,

 profile_image_url_https(string): complete URL referencing the actual image of this Twitter account in https,

 profile_link_color(string): Hex reference in RGB for the color of the link of this Twitter account,

 profile_sidebar_border_color(string): Hex reference in RGB for the sidebar's border color of this Twitter profile,

 profile_sidebar_fill_color(string): Hex reference in RGB for the sidebar's fill color of this Twitter profile,

 profile_text_color(string): Hex reference in RGB for the text color of this Twitter profile,

 profile_use_background_image(boolean): true or false if this Twitter profile uses a background image,

 protected(boolean): true or false if this Twitter profile is protected,

 screen_name(string): name to be shown on the main screen of this Twitter profile,

 statuses_count(int): amount of tweets published by this Twitter account,

 time_zone(Enum): name of the timezone for this Twitter account,

 url(string): short URL created by Twitter as a link to the real web page referenced form this Twitter profile,

 utc_offset(int): amount of seconds of offset compared to the UTC timezone,

 verified(boolean): true or false showing if the credentials entered on the redirected web page are working correctly

}

 

{
	contributors_enabled: false
	created_at: "Fri Oct 05 13:38:42 +0000 2012"
	default_profile: false
	default_profile_image: false
	description: "Sales + Marketing : Integrated + Simplified"
	favourites_count: 70
	follow_request_sent: false
	followers_count: 381
	following: false
	friends_count: 440
	geo_enabled: true
	id: 665577
	id_str: "665577"
	is_translation_enabled: false
	is_translator: false
	lang: "en"
	listed_count: 3
	location: "London"
	name: "SalesSeek"
	notifications: false
	profile_background_color: "F1F0FC"
	profile_background_image_url: "http://pbs.twimg.com/66515/y3z0.jpeg"
	profile_background_image_url_https: "https://pbs.twimg.com/43434t7.jpeg"
	profile_background_tile: false
	profile_banner_url: "https://pbs.twimg.com/3417525"
	profile_image_url: "http://pbs.twimg.com/LgKy0XPh_normal.png"
	profile_image_url_https: "https://pbs.twimg.com/LgKy0XPh_normal.png"
	profile_link_color: "007AFF"
	profile_sidebar_border_color: "FFFFFF"
	profile_sidebar_fill_color: "DDEEF6"
	profile_text_color: "333333"
	profile_use_background_image: true
	protected: false
	screen_name: "SalesSeek"
	statuses_count: 250
	time_zone: "London"
	url: "http://t.co/dcQcJ6FBM7"
	utc_offset: 3600
	verified: false
}

 

Parameters

ParameterIn / OutRequiredDescriptionParameter TypeData Type
responseOut-All the information about the sync Twitter accountJSON

 

 


 

 

DELETE /twitter/deauth

Logs out from the related Twitter account

Logs out the related Twitter account, by de-authenticating the sync is detached

Request URL

https://{client_id}.salesseek.net/api/twitter/deauth  

Response Type

Response content type: boolean

ModelExample of Response

Communication(JSON) {

deauthorized(boolean): True or False if the de-authorizaiton worked correctly

}

{
    deauthorized: true
}

 

Parameters

ParameterIn / OutRequiredDescriptionParameter TypeData Type
 deauthorizedOut-True or false if it was correctly deauthorizedJSON

 


 

 

  • No labels