Wayne,

I'm happy to help with projects like this.

I think your current issue may be that you are not parsing the response of
the first webcall before you use it in the header of the second.

I will try to find some time this week to put together some working code.

Robert

----------------------------------------
From: "Wayne Irvine" <[email protected]>
Sent: Friday, February 14, 2014 4:19 PM
To: [email protected]
Subject: TeraScript-Talk: Youtube (PHP to Terascript)

Looks like my message was cut off by the attachments:
____________________________________________

I'm trying to convert the Youtube uploader PHP routine to Terascript.

In my understanding, the routine first applies for authorisation by
submitting the username and password. I've got this down pat with a
WebCall.

It then begins the upload by submitting the returned auth key along with
the user key and some elements such as name, description etc.

This is the bit I'm stuck on. The error I'm getting is:
Content is not allowed in prolog.

A Google search of this error shows it is often due to the encoding of the
XML submission resulting in characters proceeding the '<?xml...'

How do I detect what I am actually submitting as @@local$data or adjust
it's encoding (assuming this is the problem).

Or is this possibly related to the bug we uncovered with regards to
submitting the Post Data and individual arguments (ie, does it affect
submitting it as Data as well).

Wayne Irvine
w: http://www.byteserve.com.au/
p: +61 2 9960 6099
m: 0409 960 609

----------------------------------------

To unsubscribe from this list, please send an email to
[email protected] with "unsubscribe terascript-talk" in the body.





----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to