![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Registered User
Industry Role:
Join Date: Nov 2020
Posts: 3
|
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>"; |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Oct 2006
Location: Los Angeles
Posts: 95
|
hi , please contact [email protected] for full info
__________________
Yuval E-Mail: [email protected] SKYPE: yuval.kijel http://Cambuilder.com http://Streamate.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Industry Role:
Join Date: Nov 2020
Posts: 3
|
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); |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So Fucking Banned
Industry Role:
Join Date: Jun 2011
Location: the land of woke sleuths
Posts: 16,493
|
Sure wish some cam programs would allow passing free joins via api for revshare like datinggold did back in the day.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,391
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
So Fucking Banned
Industry Role:
Join Date: Jun 2011
Location: the land of woke sleuths
Posts: 16,493
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: Southern California
Posts: 3,730
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
|||||||
|
|||||||
Bookmarks |
Tags |
fields, query, description, question, api, changed, i.e, design, descriptions, output, removed, updated, documentation, due, edited, $options, rules, urls, posting, ]/smlive/smlresult.xml;, staticbiopic, $url, cambuilder, offline, turnons |
Thread Tools | |