GET /<groupforum_id>/posts
Retrieve the messages posted in a forum of a group.
Example
https://api.viadeo.com/<groupforum_id>/posts?language=fr&limit=10&page=1&access_token=...
Query parameters
| Parameter name | Description | Type | Default 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 |
| 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 |
| user_detail= | Retrieve more information about a member's profile (location, headline, ...). Refer to our advanced API usesection for more information. | NONE | PARTIAL | FULL | NONE |
| 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. | BOOLEAN | FALSE |
| user_watermark= | Provide pictures with a watermark. | BOOLEAN | TRUE |
Response [JSON] [XML]
| Field name | Description | Type |
| count | Number of elements in the list. | LONG |
| count_string | Number of elements in the list (as string). | STRING |
| data | List's items. | STRUCT LIST |
| id | Graph resource's ID. | STRING |
| link | Link to the current Graph resource on Viadeo website. | STRING |
| name | Graph resource's name. | STRING |
| paging | Paging data. | STRUCT |
| type | Graph resource's type. | STRING |
| updated_time | Graph resource's Last update date. | ISO-8601 [YYYY-MM-DD'T'HH:MM:SSZZ] |
POST /<groupforum_id>/posts
Premium resource
Allows user to post a new message in a forum of a group. Available only for authenticated members. This resource is allowed for premium partners. Please contact our partnerships team for more information about upgrading.
Example
curl --data-urlencode -X POST -d 'answer_email=XxXxX&message=XxXxX&title=XxXxX' https://api.viadeo.com/<groupforum_id>/posts?access_token=...
Query parameters
| Parameter name | Description | Type | Default value |
| answer_email= | BOOLEAN | ||
| message= | The message of the new discussion. Minimum 10 characters. | STRING (min: 10 ) | |
| title= | The title of the new group discussion. Must be between 5 et 80 characters. | STRING (min: 5 max: 80) |
Response
| Field name | Description | Type |
| created | Always true if resource is created. | TRUE |
| created_graph_id | Created graph id. | STRING |
List of connections
| Connection path | Description |