API Methods
Account ...
Blogs ...
Bookings ...
CreditHistory ...
Dashboard ...
DirectCam ...
DirectChat ...
Email ...
FieldReport ...
Groups ...
HotLists ...
Interview ...
Lists ...
Movie ...
Newsfeed ...
PhoneChat ...
Pictures ...
Profile ...
Search ...
Tours ...
Webcam ...

Search Newsfeeds

Use this API operation to return a list of AdultWork.com newsfeed on the criteria you pass in.

URL / Endpoint

Need help with Postman?

GET /v1/search/searchNewsFeeds

Request

PropertyTypeDescription
PageSize integer Sets the number of newsfeed on each page of the result set. Accepts values from 1 to 100. Default is 50.
PageNumber integer Returns a specific page in the result set. Accepts values from 1 onwards.
UserID integer Returns all newsfeed of the profile with the specified UserID. When the parameter is not supplied and IsHotlist is set to false, only the newsfeed of the last 24 hours will be returned.
GenderIDs string Returns newsfeed for profiles that have selected their Gender to one that relates to a Gender ID within GenderIDs. Accepts a comma delimited string of Gender IDs, for example: 1,2. See the getGenders method.
IsHotlist boolean If set to true returns newsfeed of the profiles within the hotlist of the authenticated user using OAuth. Default is false. When UserID is not supplied and IsHotlist is set to false only the newsfeed of the last 24 hours will be returned.
IsVerified boolean If set to true the API returns newsfeed for profiles that are fully verified members. Default is false.
ExcludeTVTS boolean If set to true exclude from the result the newsfeed of profiles that have checked the option TV/TS in their profile details.
DateFrom datetime The start date of which the newsfeed took place. Format is yyyy-MM-dd. When UserID is not supplied and IsHotlist is set to false only the newsfeed of the last 24 hours will be returned.
DateTo datetime The end date of which the newsfeed took place. Format is yyyy-MM-dd. When UserID is not supplied and IsHotlist is set to false only the newsfeed of the last 24 hours will be returned.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation using the HTTP GET method with serialized JSON in the request body, or the HTTP GET method by passing parameters over the query string of the URI.

Headers

The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.

This endpoint has the following optional headers:

HeadersValue
X-MaskImages 1 What's this?

Authentication

Your API-Key is required with every request if you don't supply the Authorization header and can be passed in as a header or a query-string parameter. Don't have an API-Key? Get one now.

An Authorization header is optional with every request and must contain the access_token of the user. To let the API return news feed items of profiles in the logged in user's hotlist, this is required.

Scopes

This endpoint does not require any additional scopes.

Samples

GET method

https://api-sandbox.adultwork.com/v1/search/searchNewsFeeds
  ?apiKey={your-api-key}
  &IsVerified=true
  &IsHotlist=true
  &UserID=1
  &GenderIDs=1,2,3

Response

PropertyTypeDescription
PageCount integer Represents the total number of pages in the result set.
PageNumber integer Represents the current page number.
NewsFeedTotal integer Represents the total number of newsfeed in the result set.
PageSize integer Represents how many newsfeed are listed on each page.
NewsFeed Array of aws:NewsFeed List of newsfeed data.

Response Sample

The following example returns a single newsfeed.

{
    "PageNumber":1,
    "PageCount":1,
    "PageSize":50,
    "NewsFeedTotal":1,
    "NewsFeeds":[
        {
            "ItemID": 176,
            "User": {
                  "UserID": 123456,
                  "Nickname": "JosepheneBlogs",
                  "Gender": "Female",
                  "Age": 21,
                  "IsEscort": true,
                  "IsWebcam": false,
                  "IsPhoneChat": false,
                  "IsSMSChat": true,
                  "AvailableTodayEscort": false,
                  "AvailableNowWebcam": true,
                  "AvailableNowPhoneChat": true,
                  "Ratings": {
                      "Total": 1001,
                      "Positive": 1001,
                      "Neutral": 0,
                      "Negative": 0,
                      "Ratings": 0,
                      "Disputes": 0
                 },
"ProfileThumbnailSafe": false, "ProfileThumbnailURL": "https://cdn.adultwork.com/images/t/123456_1.jpg", "ProfileURL": "http://refer.adultwork.com/?PID=1&T=http%3a%2f%2fwww.adultwork.com%2f123456", "RatingsURL": "http://refer.adultwork.com/?PID=1&T=http%3a%2f%2fwww.adultwork.com%2fdlgExtRatings.asp%3fU%3d123456" "Orientation": "Bi-curious", "Country": "United Kingdom", "Region": "South East", "County": "London", "Town": "Westminster", "Nationality": "British", "IsCouple": "false", "IsMale": "false", "IsFemale": "true", }, "TypeUrl": "http://refer.adultwork.com/?PID=123456&T=http%3a%2f%2fwww.adultwork.com%2fLibrary.asp%3fU%3d123456", "ItemType": "movie", "ContentCount": "1", "UpdateCount": "4", "EventDate": "2016-04-08T13:18:00", }] }
<?xml version="1.0" encoding="UTF-8" ?>
<PageNumber>1</PageNumber>
<PageCount>1</PageCount>
<PageSize>50</PageSize>
<NewsFeedTotal>1</NewsFeedTotal>
<NewsFeeds>
        <NewsFeed>
            <ItemID>176</ItemID>
	    <TypeUrl>http://refer.adultwork.com/?PID=123456&T=http%3a%2f%2fwww.adultwork.com%2fLibrary.asp%3fU%3d123456</Text>
	    <ItemType>movie</Text>
	    <ContentCount>1</ContentCount>
	    <UpdateCount>4</UpdateCount>
	    <EventDate>2016-04-08T13:18:00</EventDate>
            <User>
                <Age>31</Age>
                <AvailableNowPhoneChat>true</AvailableNowPhoneChat>
                <AvailableNowWebcam>true</AvailableNowWebcam>
                <AvailableTodayEscort>false</AvailableTodayEscort>
                <Country>United Kingdom</Country>
                <County>London</County>
                <Gender>Female</Gender>
                <IsEscort>true</IsEscort>
                <IsPhoneChat>false</IsPhoneChat>
                <IsSMSChat>true</IsSMSChat>
                <IsWebcam>false</IsWebcam>
                <Nationality>British</Nationality>
		<IsCouple>false</IsCouple>
		<IsMale>false</Male>
		<IsFemale>true</Female>
                <Nickname>JosepheneBlogs</Nickname>
                <Orientation>Bi-curious</Orientation>
<ProfileThumbnailSafe>false</ProfileThumbnail> <ProfileThumbnailURL>https://cdn.adultwork.com/images/t/123456_1.jpg</ProfileThumbnailURL> <ProfileURL>http://refer.adultwork.com/?PID=1&T=http%3a%2f%2fwww.adultwork.com%2f1</ProfileURL> <Ratings xmlns:d5p1="http://schemas.datacontract.org/2004/07/API.Models.Profile"> <d5p1:Disputes>0</d5p1:Disputes> <d5p1:Negative>0</d5p1:Negative> <d5p1:Neutral>0</d5p1:Neutral> <d5p1:Positive>1001</d5p1:Positive> <d5p1:Ratings>0</d5p1:Ratings> <d5p1:Total>1001</d5p1:Total> </Ratings> <RatingsURL>http://refer.adultwork.com/?PID=1&T=http%3a%2f%2fwww.adultwork.com%2fdlgExtRatings.asp%3fU%3d1</RatingsURL> <Region>South East</Region> <Town>Westminstert</Town> <UserID>123456</UserID> </User> </NewsFeed> </NewsFeeds> </NewsFeeds>