This commit is contained in:
Adam Burmister
2016-01-11 15:44:12 -08:00
parent b7b7da9f37
commit 7c67406676
+2 -2
View File
@@ -1,12 +1,12 @@
/// <reference path="pinterest-sdk.d.ts" />
// Examples from https://github.com/pinterest/pinterest-api-demo
const PIN_FIELDS = "id,name,image[small]";
const PIN_SCOPE = "read_public, write_public";
const CALLBACK = (...args: any[]) => {};
const DATA = { board: "test", note: "test", link: "tets", image_url: "test" };
// Examples from https://github.com/pinterest/pinterest-api-demo
// Auth
PDK.login({ scope : PIN_SCOPE }, CALLBACK);
PDK.logout();