GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Streamate/Cambuilder API question (https://gfy.com/showthread.php?t=1345342)

hhm 05-27-2021 04:45 AM

Streamate/Cambuilder API question
 
Hi all - fairly new here and this is my first post.

For those who have experience with the Streamate API, I have a question on including description fields. I am successfully retrieving experything expected with the query options below - with the exception of the 3 description fields (About, Expertise, TurnOns), which all return empty arrays.

Does anyone know if this is by design, i.e. the descriptions fields were removed from the output, or has something changed that hasn't been updated in the Cambuilder documentation?

Query:
Code:

$url = '[...]/SMLive/SMLResult.xml';  (edited due to rules on posting URLs)

$options = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
        <SMLQuery>
        <Options MaxResults=\"" . $recordsperround .  "\" />
        <AvailablePerformers QueryId=\"MyGenericQuery\" PageNum=\"" . $currentround . "\">
        <Include>
          <Rating />
          <Descriptions></Descriptions>
          <Media>staticbiopic</Media>
        </Include>
        <Constraints>
        <PublicProfile />
        <StreamType>offline</StreamType>
        </Constraints>
        </AvailablePerformers>
        </SMLQuery>";

Thanks all

liveone 05-28-2021 09:17 AM

hi , please contact [email protected] for full info

hhm 06-01-2021 05:39 PM

Thanks Yuval, I contacted the support team and they were helpful.

In the end I figured out the issue and it was on my side. For others interested or experiencing something similar when working with php, it was the way SimpleXML handles CDATA, and the solution was to change the way the SimpleXML instance is created:

Code:

Original:
$oXML = new SimpleXMLElement($result);

New:
$oXML = simplexml_load_string($result, 'SimpleXMLElement', LIBXML_NOCDATA);

Thanks for your help.

bean-aid 06-01-2021 06:26 PM

Sure wish some cam programs would allow passing free joins via api for revshare like datinggold did back in the day.

V_RocKs 06-02-2021 12:17 AM

Quote:

Originally Posted by beaner (Post 22867666)
Sure wish some cam programs would allow passing free joins via api for revshare like datinggold did back in the day.

I second that

bean-aid 06-02-2021 07:49 PM

Quote:

Originally Posted by V_RocKs (Post 22867773)
I second that

Its proven money for all and program has zero risk if it's based on revshare.

mechanicvirus 06-02-2021 08:10 PM

Quote:

Originally Posted by beaner (Post 22867666)
Sure wish some cam programs would allow passing free joins via api for revshare like datinggold did back in the day.

Ah those were the days. :thumbsup


All times are GMT -7. The time now is 07:18 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123