You are here:
< Back

We have a sample package set up on your system to use.

Static files

You can serve static files from the public folder

The example that we have set up is a simple xml file inside the public folder.

Endpoint
/datasource.xml

Connectors

The connector scripts uses other webservice’s API to collect and sort data.
It responds in JSON format with the collected data.
You can use these endpoints as a datasource in your system.

There are three premade connectors

Instagram

The instagram connector collects the 10 most recent posts from an Instagram account.

Endpoint
/instagram/connector?token={yourToken}

Response

{
"posts": [
{
"title": {
"caption": "The caption of the post"
},
"like": {
"likes": NumberOfLikes
},
"image": {
"url": "ImageUrlLocalized"
},
"time": {
"created-time": "The time when the post was created"
},
"dataType": {
"type": "The type post"
}
}
]
}
Facebook

The Facebook connector collects the 10 most recent posts from a Facebook account.

Endpoint
/facebook/connector?page={facebookPageOrProfileID}&token={yourToken}

Response

{
"posts": [
{
"title": {
"caption": "The caption of the post"
},
"image": {
"url": "ImageUrlLocalized"
},
"time": {
"created-time": "The time when the post was created"
},
"dataType": {
"type": "The type post"
}
}
]
}
Feedly

The feedly connector collects the most recent news from a Feedly account’s subscribed news sources.

Endpoint
/feedly/connector?feed={nameOfTheFeed}&token={yourToken}

Response

[
{
"title": {
"caption": "Title of the news"
},
"description": {
"description": "Description of the news"
},
"image": {
"url": "Image of the news"
},
"time": {
"created-time": TheTimeOfCreationInUNIXtimecode
}
}
]

Widgets

Widgets can display the collected data from the connectors, in a gallery style.

Endpoints

/instagram/widget?token={yourToken}
/facebook/widget?page={facebookPageOrProfileID}&token={yourToken}
/feedly/widget?feed={nameOfTheFeed}&token={yourToken}

Download our template package

https://wallboardinfo-my.sharepoint.com/:u:/g/personal/gfucskar_wallboard_info/Ef0Zl3LiwaJKmiLjwNThf5cBv6Sn5oN-EvXqjj5EDnAHfg?e=jbTVBb