Resource: /recommend

  1. GET /recommend
  2. POST /recommend
  3. List of connections


GET /recommend

Retrieve recommended URL infos.

Example

https://api.viadeo.com/recommend?url=http://dev.viadeo.com&language=fr&limit=10&access_token=...

Query parameters

Parameter nameDescriptionTypeDefault value
language=Language in which the profile will be displayed. Default value is the navigation language of the user on the website.ISO-639
limit=Number of items per page.INTEGER (min: 0 max: 100)10
only_contacts=Only consider sharing users in the user contacts list.STRINGFALSE
page=Page number to retrieve.INTEGER (min: 1 max: 50)1
start=Offset of the first item; the index of the first item retrieved. The first item in the response will therefore be = start + page * limit.INTEGER (min: 1 max: 2500)1
summary=Do not show users list, only print head information about the link.STRINGFALSE
url=The URl to share (url-encoded).URL
user_detail=Retrieve more information about a member's profile (location, headline, ...). Refer to our advanced API usesection for more information.NONE | PARTIAL | FULLNONE
user_pending_request=Retrieve the id with the related user if there is any pending request.
DEPRECATED, removed 2013-08-31. Reason: More ...complete information available by using /user/pending_requests connection - returns pending connection requests between you and given user. Replaced by: pending_requests connection. Deprecated since: 2013-01-31.
BOOLEANFALSE
user_watermark=Provide pictures with a watermark.BOOLEANTRUE

Response [JSON] [XML]

Field nameDescriptionType
countNumber of elements in the list.LONG
count_stringNumber of elements in the list (as string).STRING
dataList's items.STRUCT LIST
domainDomain of the shared url. Ex: www.lemonde.fr.STRING
idGraph resource's ID.STRING
keywordsShared url's ketwords.STRING
linkLink to the current Graph resource on Viadeo website.STRING
nameGraph resource's name.STRING
overviewShared url's overview.STRING
pagingPaging data.STRUCT
sharedTrue is currently logged in member has already shared this url.BOOLEAN
sharing_messageShared url's message.STRING
site_namePretty name of the shared url's source Ex: Le Monde.fr. This is only set when pretty name is known ; use domain otherwise.STRING
titleShared url's title.STRING
typeGraph resource's type.STRING
updated_timeGraph resource's Last update date.ISO-8601 [YYYY-MM-DD'T'HH:MM:SSZZ]
url_pictureShared url's picture url.STRING

POST /recommend

Premium resource

Allows user to recommend a new URL.

Example

curl --data-urlencode -X POST -d 'title=XxXxX&url=http://dev.viadeo.com&keywords=network,pro' https://api.viadeo.com/recommend?access_token=...

Query parameters

Parameter nameDescriptionTypeDefault value
keywords=A list of comma-separated keywords for this URL.STRING
language=Language in which the profile will be displayed. Default value is the navigation language of the user on the website.ISO-639
message=The message used with the URL share.STRING
overview=An overview description for the URL.STRING
site_name=Name the link provider website.STRING
title=A title for the link.STRING
url=Application url.URL
url_picture=URL of a picture for this URL.URL

Response

Field nameDescriptionType
createdAlways true if resource is created.TRUE
created_graph_idCreated graph id.STRING

List of connections

Connection pathDescription