Skip to content

Commit

Permalink
Fixing bad URLs in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffswartz committed Apr 3, 2013
1 parent 129eb27 commit 9340361
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ When you are Deploying into your device:
---

## Tutorial and sample code
Go through the 15-minute [Getting started tutorial](http://www.tokbox.com/opentok/api/documentation/gettingstarted) to learn the Basics!
Go through the [OpenTok API demo](http://www.tokbox.com/opentok/demo) to learn the basics!

Next, look at the included in the sampleCode folder and follow the [instructions](/opentok/PhoneGap-Plugin/tree/master/sampleCode) in the README.

Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# OpenTok PhoneGap Plugin API Reference

The OpenTok API lets you add live video to your app. [Find out more online](http://www.tokbox.com/opentok/api).
The OpenTok API lets you add live video to your app. [Find out more online](http://www.tokbox.com/platform).

For an overview of the core concepts of OpenTok, please visit our [OpenTok Developer Page](http://www.tokbox.com/opentok/api/documentation/gettingstarted)
For an overview of the core concepts of OpenTok, please visit our [OpenTok Developer Page](http://www.tokbox.com/opentok/demo)

### This PhoneGap Plugin Library is a subset of the OpenTok JavaScript Library

Expand Down
2 changes: 1 addition & 1 deletion docs/session.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The TB object dispatches an `exceptionEvent` if there is an error connecting to

**apikey** (String) - The API key that TokBox provided you when you registered for the OpenTok API.

**token** (String) - The session token. You generate a session token using the OpenTok server-side libraries or the Session and [Token Generator page](http://www.tokbox.com/opentok/api/tools/generator)
**token** (String) - The session token. You generate a session token using the OpenTok server-side libraries or the [OpenTok dashboard](https://dashboard.tokbox.com/projects)

**properties** (Object) — Optional. There are currently no properties available for this function.

Expand Down
3 changes: 1 addition & 2 deletions docs/tb.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ You connect to the session using the `connect()` method of the Session object re

#### Parameters

**sessionId** (String) — Use the [Session ID](http://www.tokbox.com/opentok/api/tools/js/documentation/overview/session_creation.html) generated by your server that represents the session to which you are planning to connect.
**production** (Boolean) - Optional. Are you using Staging or Production Servers? Default Value is false, using staging servers. To move your app to Production, check out our [launch page](http://www.tokbox.com/opentok/api/tools/js/launch).
**sessionId** (String) — Use the [Session ID](http://www.tokbox.com/opentok/docs/concepts/session_creation.html) generated by your server that represents the session to which you are planning to connect.

#### Returns

Expand Down
2 changes: 1 addition & 1 deletion sampleCode/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Sample Project

Get Started with OpenTok Right Away!
This tutorial will show you how to get something start right away based on the [OpenTok HelloWorld sample application](http://www.tokbox.com/opentok/api/tools/js/tutorials/helloworld.html).
This tutorial will show you how to get something start right away based on the [OpenTok HelloWorld sample application](http://www.tokbox.com/opentok/docs/js/tutorials/helloworld.html).

## Copy - Paste

Expand Down
4 changes: 2 additions & 2 deletions sampleCode/helloWorld.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<body>
<div id="myPublisherDiv"></div>

<script src="http://staging.tokbox.com/v0.91/js/TB.min.js"></script>
<script src="http://www.tokbox.com/v1.1/js/TB.min.js"></script>
<script type="text/javascript">
var apiKey = ""; // Replace with your apiKey.
var sessionId = ""; // Replace with your own session ID. Make sure it matches index.html
var token = ""; // Replace with your session Token.
// To Generate Sessions and Tokens, See http://www.tokbox.com/opentok/api/tools/generator
// To Generate Sessions and Tokens, See https://dashboard.tokbox.com/projects

var session = TB.initSession(sessionId);
var publisher = TB.initPublisher( apiKey, "myPublisherDiv" ); // Replace with your API key
Expand Down
2 changes: 1 addition & 1 deletion sampleCode/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var app = {
var apiKey = "16178811"; // Replace with your apiKey.
var sessionId = "2_MX4xNjE3ODgxMX5-MjAxMi0wNy0yOCAxODo0MDo1NS43MTU2MzQrMDA6MDB-MC41MDIzNjAwNzUyNDl-"; // Replace with your own session ID. Make sure it matches helloWorld.html
var token = "T1==cGFydG5lcl9pZD0xNjE3ODgxMSZzaWc9MmQ4YzRlYTc4NGIyOTRjZDg1ODgxNDM5NDVjOGU1MzYwZTMzY2UyZTpzZXNzaW9uX2lkPTJfTVg0eE5qRTNPRGd4TVg1LU1qQXhNaTB3TnkweU9DQXhPRG8wTURvMU5TNDNNVFUyTXpRck1EQTZNREItTUM0MU1ESXpOakF3TnpVeU5EbC0mY3JlYXRlX3RpbWU9MTM0Mzc3MDczMyZleHBpcmVfdGltZT0xMzQzODU3MTMzJnJvbGU9cHVibGlzaGVyJmNvbm5lY3Rpb25fZGF0YT0mbm9uY2U9ODMzMDA4"; // Replace with your session Token.
// To Generate Sessions and Tokens, See http://www.tokbox.com/opentok/api/tools/generator
// To Generate Sessions and Tokens, See https://dashboard.tokbox.com/projects

var session = TB.initSession(sessionId);
var publisher = TB.initPublisher( apiKey, "myPublisherDiv" ); // Replace with your API key
Expand Down

0 comments on commit 9340361

Please sign in to comment.