<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

    <title type="text">Vyew Discussion Forum</title>
    <link rel="alternate" type="text/html" href="http://vyew.com/site/forum/" />
    <link rel="self" type="application/atom+xml" href="http://vyew.com/site/forum/atom/" />
    <updated></updated>
    <rights>Copyright (c) 2011</rights>
    <generator uri="http://expressionengine.com/" version="1.6.1">ExpressionEngine</generator>
    <id>tag:vyew.com,2011:11:08</id>


    <entry>
      <title>Getting error 0 when creating</title>
      <link rel="alternate" type="text/html" href="http://vyew.com/site/forum/viewthread/2672/" />      
      <id>tag:vyew.com,2009:site/forum/viewthread/.2672</id>
      <published>2009-09-30T15:27:54Z</published>
      <updated></updated>
      <author><name>pibelibre</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi,
<br />
 i&#8217;m getting an error while creating a room
<br />
this is the error i read from my code (firebug)
</p>
<p>
file_get_contents&#40;https://vyew.com/api/api.php?cmd=create&amp;name=&amp;type=vyew&amp;owner=&amp;key=cab449b34a&amp;time=1254352590&amp;md5=9248e6e37c19c6e339fb9fc99ded1fb4&#41; [<a href="http://function.file-get-contents">function.file-get-contents</a>]: failed to open stream: No error in <b>D:\xampp\htdocs\proy_adminV.beta1\php\VyewAPI.php</b> on line <b>981</b>
</p>
<p>
Failed to create meeting
</p>
<p>
As you can see i get the error on line 981 (same error as i saw on a different post but was unanswered). This is the code i use 
<br />
</p><div class="codeblock"><code>
<span style="color: #0000BB">$api_key</span><span style="color: #007700">=</span><span style="color: #DD0000">"cab449b34a"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$api_secret</span><span style="color: #007700">=</span><span style="color: #DD0000">"****************"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;require_once(</span><span style="color: #DD0000">'VyewAPI.php'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$vyew&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">VyewAPI</span><span style="color: #007700">(</span><span style="color: #0000BB">$api_key</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$api_secret</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//Create&nbsp;a&nbsp;new&nbsp;meeting&nbsp;room<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$res</span><span style="color: #007700">=</span><span style="color: #0000BB">$vyew</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">create</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">$res&#91;0&#93;</span><span style="color: #007700">!=</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;die(</span><span style="color: #DD0000">"Failed&nbsp;to&nbsp;create&nbsp;meeting"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$vyewBookID</span><span style="color: #007700">=</span><span style="color: #0000BB">$res&#91;2&#93;</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$roomURL</span><span style="color: #007700">=</span><span style="color: #0000BB">$res&#91;3&#93;</span><span style="color: #007700">;</span>
</code></div><p>
of course the ************ is the api secret provided by vyew. $res[0] returns 0&#8230; no idea what that means....
<br />
 i used the address generated and used in line 981 (<a href="https://vyew.com/api/api.php?cmd=create&amp;ampname=&amp;amptype=vyew&amp;ampowner=&amp;ampkey=cab449b34a&amp;amptime=1254352590&amp;ampmd5=9248e6e37c19c6e339fb9fc99ded1fb4">https://vyew.com/api/api.php?cmd=create&amp;name=&amp;type=vyew&amp;owner=&amp;key=cab449b34a&amp;time=1254352590&amp;md5=9248e6e37c19c6e339fb9fc99ded1fb4</a>) on my browser and it shows a simple html with the text:
<br />
0|Error: Missing API key. 
</p>
<p>
Can anybody help please,
<br />
Reguards,
<br />
Malcolm
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Feel free to post any API related info here! We&#8217;ll respond asap.</title>
      <link rel="alternate" type="text/html" href="http://vyew.com/site/forum/viewthread/2261/" />      
      <id>tag:vyew.com,2009:site/forum/viewthread/.2261</id>
      <published>2009-06-24T12:33:58Z</published>
      <updated></updated>
      <author><name>Tim (Vyew)</name></author>
      <content type="html">
      <![CDATA[
        <p>Feel free to post any API related info here! We&#8217;ll respond asap.
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Integration with .net application ( online tutor)</title>
      <link rel="alternate" type="text/html" href="http://vyew.com/site/forum/viewthread/4993/" />      
      <id>tag:vyew.com,2011:site/forum/viewthread/.4993</id>
      <published>2011-10-04T23:16:26Z</published>
      <updated></updated>
      <author><name>k.uniyal</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi vyew Team,
</p>
<p>
we want to integrate vyew in our .net application (online tutor).
<br />
we have registered tutors &amp; student in our database. now we want to assign a vyew room for every registered tutor.
<br />
so everytime when tutor start a new session then all those student who booked for this class ( class relation in our database) can join the room for a particular time.
</p>
<p>
please tell me is it possible using vyew.
</p>
<p>
Regards
<br />
Kavindra Uniyal
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>LMS integration</title>
      <link rel="alternate" type="text/html" href="http://vyew.com/site/forum/viewthread/4862/" />      
      <id>tag:vyew.com,2011:site/forum/viewthread/.4862</id>
      <published>2011-08-25T11:56:20Z</published>
      <updated></updated>
      <author><name>hagustsson</name></author>
      <content type="html">
      <![CDATA[
        <p>We use a learning management system &#40;LMS&#41; that contains a virtual communication module that is not adequate for our needs.&nbsp; Thinking that VYEW could be a solution to that problem.
</p>
<p>
Can you integrate VYEW in the menu structure of a LMS? 
<br />
Are other LMSs (Blackboard, Moodle) using VYEW in this manner?
</p>
<p>
Thanks in advance!
</p>
<p>
Hilmir Agustsson, MHSc, DPT, MTC, CFC
<br />
Lead Course Writer
<br />
University of St. Augustine
</p>
<p>
HAgustsson at usa dot edu
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>How to deploy in local server</title>
      <link rel="alternate" type="text/html" href="http://vyew.com/site/forum/viewthread/4692/" />      
      <id>tag:vyew.com,2011:site/forum/viewthread/.4692</id>
      <published>2011-07-29T05:48:17Z</published>
      <updated></updated>
      <author><name>poopandi</name></author>
      <content type="html">
      <![CDATA[
        <p>We are creating a website and we want to deploy Vyew conference tool in our server.
<br />
It is possible or not ?&nbsp; Could you please help me?
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>where to find the api that can get key and secret from Vyew</title>
      <link rel="alternate" type="text/html" href="http://vyew.com/site/forum/viewthread/4482/" />      
      <id>tag:vyew.com,2011:site/forum/viewthread/.4482</id>
      <published>2011-06-16T10:38:29Z</published>
      <updated></updated>
      <author><name>shijiuw</name></author>
      <content type="html">
      <![CDATA[
        <p>We are building a website and want to create a Vyew account for each user who has an account on our website. We can not find the api that can get key and secret of each account that are needed to launch call to Vyew.com.&nbsp; Could you please help us?
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Could you proivde API written in JSP</title>
      <link rel="alternate" type="text/html" href="http://vyew.com/site/forum/viewthread/4362/" />      
      <id>tag:vyew.com,2011:site/forum/viewthread/.4362</id>
      <published>2011-05-05T19:37:33Z</published>
      <updated></updated>
      <author><name>shijiuw</name></author>
      <content type="html">
      <![CDATA[
        <p>Could you provide API written in JSP for the following functions:
<br />
1, create a vyewbook/room
<br />
2, insert files into a room
<br />
3, invite a guest into a room
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>API integration with iframe</title>
      <link rel="alternate" type="text/html" href="http://vyew.com/site/forum/viewthread/4332/" />      
      <id>tag:vyew.com,2011:site/forum/viewthread/.4332</id>
      <published>2011-04-24T18:58:26Z</published>
      <updated></updated>
      <author><name>Profesor Demostración</name></author>
      <content type="html">
      <![CDATA[
        <p>When using the &#8216;login&#8217; returns a link. For example:
<br />
 <a href="http://vyew.com/go/autologin.php?k=a0582c499b899990ad45db3cf&amp;m=vyew">http://vyew.com/go/autologin.php?k=a0582c499b899990ad45db3cf&amp;m=vyew</a>
<br />
 If I use directly from the browser works correctly but if I use it in an iframe again asks me email and password.
</p>
<p>
 Of course, thanks, I hope your answer
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>API Integration</title>
      <link rel="alternate" type="text/html" href="http://vyew.com/site/forum/viewthread/4322/" />      
      <id>tag:vyew.com,2011:site/forum/viewthread/.4322</id>
      <published>2011-04-23T01:22:07Z</published>
      <updated></updated>
      <author><name>ndurgadevi12</name></author>
      <content type="html">
      <![CDATA[
        <p>i got one free api that api how to integrate plz tell
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>I get 0|Access denied (702) working with ASP</title>
      <link rel="alternate" type="text/html" href="http://vyew.com/site/forum/viewthread/4291/" />      
      <id>tag:vyew.com,2011:site/forum/viewthread/.4291</id>
      <published>2011-04-13T08:03:19Z</published>
      <updated>2011-04-13T09:37:46Z</updated>
      <author><name>Hipocratica</name></author>
      <content type="html">
      <![CDATA[
        <p>I work with asp and I get this final API call:
</p>
<p>
<a href="https://vyew.com/api/api.php?cmd=create&amp;name=Cuarto2&amp;type=view&amp;owner=guest&amp;key=de5ca86d2a&amp;time=1302709151&amp;md5=026c45e067931542e4dca2afc52d14f7">https://vyew.com/api/api.php?cmd=create&amp;name=Cuarto2&amp;type=view&amp;owner=guest&amp;key=de5ca86d2a&amp;time=1302709151&amp;md5=026c45e067931542e4dca2afc52d14f7</a>
</p>
<p>
But when I call the API page I get a 0|Access denied (702)
</p>
<p>
I dont know what is wrong.
</p>
<p>
Can any help me. I put the original in: <a href="http://www.hipocratica.com/vyew.asp">http://www.hipocratica.com/vyew.asp</a>
</p>
<p>
The original ASP code is:
</p>
<p>
&#8216;Work with the API
<br />
apikey="XXXX"
<br />
secret="XXXX"
<br />
apiurl="https://vyew.com/api/api.php"
</p>
<p>
txt_hour=hour(time)-2 &#8216;GMT time
<br />
If len(txt_hour)=1 then txt_hour="0"&txt;_hour
<br />
txt_minutes=minute(time)
<br />
If len(txt_minutes)=1 then txt_minutes="0"&txt;_minutes
<br />
txt_seconds=second(time)
<br />
If len(txt_seconds)=1 then txt_seconds="0"&txt;_seconds
</p>
<p>
txt_date=date &amp;&#8221; &#8220;&amp; txt_hour&amp;&#8221;:"&txt;_minutes&amp;":"&txt;_seconds
</p>
<p>
&#8216;Date in epoch format
<br />
epoch_time=DateDiff("s", &#8220;01/01/1970 00:00:00&#8221;, txt_date)
</p>
<p>
room_name="Cuarto2"
</p>
<p>
txt_url=apiurl&amp;&#8221;?cmd=create&name;="&room;_name&amp;"&amp;type=view&amp;owner=guest&key;="&apikey;&amp;"&time;="&epoch;_time
</p>
<p>
&#8216;Create MD5
<br />
txt_md5=md5(txt_url&secret;)
</p>
<p>
txt_url=txt_url&amp;"&md5;="&txt;_md5
<br />
response.write &#8220;URL: &#8220;&txt;_url
</p>
<p>
&#8216;Call the API
<br />
Set vyew = Server.CreateObject("MSXML2.ServerXMLHTTP")
<br />
vyew.Open &#8220;GET&#8221;, txt_url, false
<br />
vyew.Send
<br />
Response.ContentType = &#8220;text/html&#8221;
<br />
    txt_web=vyew.ResponseText
<br />
Set vyew=nothing
<br />
response.write &#8220;Api response: &#8220;&txt;_web
</p>
<p>
Thanks
</p>
      ]]>
      </content>
    </entry>


</feed>
