Skip to content

Instantly share code, notes, and snippets.

View steffentchr's full-sized avatar

Steffen Fagerström Christensen steffentchr

View GitHub Profile
sdfasdfasdf
Om 23 Kontakt
Administration Sites Partners Bandwidth Payments Videos Requests Error tracker
Videos
Video Time Size Small Medium HD
2009-06-15 15:39 37,1 MB Q Q Q All from site
All from user
See on site
2009-06-12 06:09 162,6 MB Q Q Q All from site
All from user
fr, 10. jul. 09:55 - 16:50 Copenhagen Apt
Newark Liberty Intl LOT Polish Airlines
1 stop
lø, 18. jul. 23:25 - 19:40 Newark Liberty Intl
Copenhagen Apt LOT Polish Airlines
1 stop
{upload
{Upload}
{Get started by uploading your videos to 23 Video. You can always edit, organize, public and delete them later.}
{upload_video
{Upload a video}
{/upload}
{}
}
{open_upload
{Set up open upload}
var module = 'bomber-auth';
var path = '/tmp';
var ps = new PersistentStore(path);
// PersistentStore.set(namespace, document_name, object);
var user = {user_id:1234, name:'Guan Yang', email:'guan@example.com'};
ps.set(module, 'user1234', user);
// PersistentStore.get(namespace, document_name, [default={}]);
var saved_user = ps.get(module, 'user1234');
function onePrivateFunction(whatevs) {
}
var PersistentStore = exports.PersistentStore = function(path) {
this.storage_path = path || this.DEFAULT_STORAGE_PATH;
var a = onePrivateFunction(3);
var anotherPrivateFunction = function(yes) {
...

Generelt

En Facebook application bygget ind i 23 Video, som kan installeres for lettere at bringe video ind på Facebook. Det gælder både i streams, på fan pages og så videre.

Teknisk

Installation vil involvere at:

  1. Aktivér applicationen på dit 23 Video-site
  2. Sæt appliationen på http://www.facebook.com/developers/createapp.php og få key/token
This is for you
$ curl -G -H "Authorization: OAuth \
> oauth_consumer_key=\"myrealconsumerkey\", \
> oauth_nonce=\"6FDCCDC6506384A21D4DAE0522AA97CAE5\", \
> oauth_signature_method=\"HMAC-SHA1\", \
> oauth_timestamp=\"1265790840\", \
> oauth_token=\"myrealtoken\", \
> oauth_verifier=\"myrealverifier\", \
> oauth_version=\"1.0\", \
> oauth_signature=\"whatever\"" \
> http://twitter.com/oauth/access_token