Using third party API in PHPRunner apps. Playing with Twitter.

PHP, PHP Code Generator, Tutorials

Most popular websites like Facebook, Twitter, Dropbox, LinkedIn etc provide an API that allows to retrieve or post data programmatically. API examples come in many programming languages and PHP is usually one of them. In this article we’ll show how easy is to add API calls to your PHPRunner project.

Lets start by adding Twitter posting functionality. We’ll be using a lightweight twitter-php library for this purpose. Similar libraries exist for other languages as well.

1. Setup a developer account with Twitter.

A quote from twitter-php usage page:

Sign in to the http://twitter.com and register an application from the http://dev.twitter.com/apps page. Remember to never reveal your consumer secrets. Click on My Access Token link from the sidebar and retrieve your own access token. Now you have consumer key, consumer secret, access token and access token secret.

2. Download twitter-php files.

Download source code of twitter-php library, download link is at the bottom of the page. Unzip two files from source folder to your project output directory.

3. Adding code to events

Now proceed to Event Editor and add the following code to one of events. In this example we will be posting to Twitter after new record is added to Categories table.

include("twitter.class.php");
$consumerKey="gy5IXcDt....................";
$consumerSecret="D1oVGmT.....................";
$accessToken="2914286452-dfe........................";
$accessTokenSecret="kpbE7qsIMGZ......................";
$twitter = new Twitter($consumerKey, $consumerSecret, $accessToken, $accessTokenSecret);
$twitter->send('New category was added: '.$values['Category']);

4. Add a new record to Categories table and this is what we see on our Twitter page.

5. Displaying a list of your latest tweets

Add a new ‘PHP code snippet’ where you need the list of tweets to appear and post the following code there. This will display the list of your last 20 tweets. To make it look good we need to add some HTML and CSS.

include("twitter.class.php");
$consumerKey="gy5IXcDt....................";
$consumerSecret="D1oVGmT.....................";
$accessToken="2914286452-dfe........................";
$accessTokenSecret="kpbE7qsIMGZ......................";
$twitter = new Twitter($consumerKey, $consumerSecret, $accessToken, $accessTokenSecret);
$statuses = $twitter->load(Twitter::ME);
echo '';

This is how it looks in PHPRunner project:

6. Instead of displaying your own tweets you can display the results of Twitter search

For this purpose in your code replace

$statuses = $twitter->load(Twitter::ME);

with

$statuses = $twitter->search('Christmas sale');

You might want to remove ‘Follow’ button as well in this case. This is how it looks in PHPRunner project:

7. Prettifying it

And the following needs to be pasted to ‘Custom CSS’ section under Style Editor to make everything look good.


.p-author:before,.p-author:after,.cards-base:before,.cards-base:after {
    display: table;
    content: ""
}

.p-author:after,.cards-base:after {
    clear: both
}

.tweet,.root,.p-author {
    zoom:1}

.root,.tweet,.footer,.detail-expander,.header,.timeline {
    position: relative
}

.custom-timeline-owner-profile,.timeline .e-entry-title,.p-author .p-name,.cards-base h3,.new-tweets-bar button,.load-tweets,.no-more-pane {
    font-size: 14px;
    line-height: 16px
}


.custom-timeline-owner-profile .p-nickname {
    font-size: 13px
}

.custom-timeline-owner-profile .p-name,.p-author .profile .p-name,.cards-base .profile .p-name {
    font-weight: bold
}


.timeline-header .custom-timeline-summary,.timeline-header h1.summary {
    font-size: 18px;
    font-weight: bold;
    line-height: 18px
}


.p-author a,.e-entry-title,.cards-base h3,.cards-base .cards-content p {
    line-height: 18px
}

.e-entry-title a {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

a,a:visited,a:active,a:hover,a:focus,.p-author .full-name,.p-author a.profile,.p-author a.profile:hover .p-nickname,.p-author a.profile:focus .p-nickname,.p-author a.profile:hover .p-nickname b,.p-author a.profile:focus .p-nickname b,.timeline-header .custom-timeline-owner-profile:hover,.timeline-header .custom-timeline-owner-profile:focus,.custom-timeline-owner-profile:hover .p-nickname,.custom-timeline-owner-profile:focus .p-nickname,.custom-timeline-owner-profile:hover .p-nickname b,.custom-timeline-owner-profile:focus .p-nickname b,.cards-base a.profile:hover .p-nickname,.cards-base a.profile:focus .p-nickname,.cards-base a.profile:hover .p-nickname b,.cards-base a.profile:focus .p-nickname b,.cards-base .byline-user .p-nickname {
    text-decoration: none;
    outline: 0
}

a:hover b,a:focus b,a:hover span,a:focus span,h3 a:hover,h3 a:focus,.timeline-header a:hover,.timeline-header a:focus,.e-entry-title .link:hover,.e-entry-title .link:focus,.footer a.expand:hover,.footer a.expand:focus,a.permalink:hover,a.permalink:focus,a.long-permalink:hover,a.long-permalink:focus,.cards-base p a:hover,.cards-base p a:focus,.retweet-credit a:hover,.retweet-credit a:focus {
    text-decoration: underline
}

html,.p-author .profile .p-name,.custom-timeline-owner-profile .p-name,.cards-base p,.cards-base p a,.timeline-header .custom-timeline-summary,.timeline-header .custom-timeline-summary a:link,.timeline-header .custom-timeline-summary a:visited,.timeline-header .summary,.timeline-header .summary a:link,.timeline-header .summary a:visited,.p-author a.profile:hover .p-name,.p-author a.profile:focus .p-name {
    color: #292f33
}

.customisable,.customisable:link,.customisable:visited,.customisable:hover,.customisable:focus,.customisable:active,.customisable-highlight:hover,.customisable-highlight:focus,a:hover .customisable-highlight,a:focus .customisable-highlight {
    color: #0084b4
}

a:link,a:visited,.stats span,.byline,.retweet-credit,.no-more-pane,.no-tweets-pane p,.p-geo,.cards-base .byline-user,.timeline-header .list-description {
    color: #707070
}

a:hover,a:focus,a:active,.p-author a.profile:hover,.p-author a.profile:focus,.retweet-credit .profile:hover,.retweet-credit .profile:focus,.stats strong,.no-tweets-pane .load-tweets,.nsfw {
    color: #66757f
}

.tweet-box-button {
    color: #aaa
}

.customisable-border {
    border: 1px solid #e8e8e8
}


.timeline {
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 5px
}

.timeline .stream {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    overflow-y: scroll
}

.timeline.pending-scroll-in .stream .h-feed {
    -webkit-transition: margin-top .5s ease-out;
    -moz-transition: margin-top .5s ease-out;
    -o-transition: margin-top .5s ease-out;
    transition: margin-top .5s ease-out
}

.timeline-header,.timeline-footer {
    position: relative;
    z-index: 100
}

.timeline-header {
    padding: 12px;
    border-width: 0 0 1px;
    box-shadow: 0 0 0 -3px rgba(0,0,0,0);
    -webkit-transition: box-shadow .3s ease-out;
    -moz-transition: box-shadow .3s ease-out;
    -o-transition: box-shadow .3s ease-out;
    transition: box-shadow .3s ease-out
}

.scrolled-down .timeline-header {
    box-shadow: 0 0 10px -3px #ccc
}

.timeline-header h1.summary {
    font-weight: bold
}

.timeline-header .follow-button,.timeline-header .twitter-follow-button,.timeline-header .ic-twitter-badge {
    position: absolute;
    top: 10px;
    right: 10px
}

.ic-twitter-badge {
    border: 1px solid #fff;
    border-color: transparent;
    border-radius: 3px
}

.ic-twitter-badge:focus {
    border-color: #00acee
}

.new-tweets-bar {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 100;
    display: none;
    width: auto;
    margin-top: -2px;
    opacity: 0;
    -webkit-transition: opacity .3s ease-in;
    -moz-transition: opacity .3s ease-in;
    -o-transition: opacity .3s ease-in;
    transition: opacity .3s ease-in
}

.pending-new-tweet-display .new-tweets-bar {
    display: block
}

.pending-new-tweet .new-tweets-bar {
    opacity: 1
}

.new-tweets-bar button {
    width: 100%;
    _width: 92%;
    padding: 10px 0;
    color: #fff;
    text-align: center;
    background-color: #222;
    background-color: rgba(0,0,0,0.87);
    border-width: 0
}

.new-tweets-bar button:hover,.new-tweets-bar button:focus {
    text-decoration: underline;
    cursor: pointer
}

button.load-more {
    display: block;
    width: 100%;
    *width: 92%;
    padding: 10px 0;
    margin: 0;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    cursor: pointer;
    background-color: #fcfcfc;
    background-color: rgba(0,0,0,0.02);
    border: 0;
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.05);
    -webkit-transition: background-color .2s ease-out;
    -moz-transition: background-color .2s ease-out;
    -o-transition: background-color .2s ease-out;
    transition: background-color .2s ease-out
}



.timeline-footer {
    padding: 6px 10px;
    background: #e8e8e8;
    background: rgba(0,0,0,0.1)
}

.timeline-footer a.widget-link {
    display: block;
    padding: 10px;
    text-align: center
}

.tweet-box-button {
    display: block;
    width: 100%;
    padding: 6px;
    text-align: left;
    background: #fff;
    border: 1px #ccc solid;
    border-radius: 4px
}

.tweet-box-button:hover,.tweet-box-button:focus {
    cursor: pointer;
    border-color: #999;
    border-color: rgba(0,0,0,0.4)
}

a.tweet-box-button {
    width: auto
}

.tweet {
    padding: 12px 12px 10px 69px;
    border-width: 0 0 1px
}

.tweet.with-expansion {
    cursor: pointer
}

.header {
    _float: left;
    _clear: left
}

.header .avatar {
    position: absolute;
    top: 0;
    left: -57px;
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 4px
}

.permalink {
    position: relative;
    z-index: 50;
    float: right;
    margin-top: 2px;
    _clear: right
}

.tweet .e-entry-title {
    margin: 0 5px 0 0;
    overflow: hidden;
    clear: both;
    word-wrap: break-word;
    white-space: pre-wrap
}

.inline-media {
    max-width: 100%;
    margin: 10px 0 0;
    overflow: hidden
}

.tweet .retweet-credit {
    margin: 3px 0
}

.tweet .twitter-alerts {
    margin-top: 6px
}

.footer {
    overflow: hidden;
    zoom:1}

.tweet-actions {
    position: absolute;
    _position: static;
    right: 0;
    bottom: 1px;
    _float: right;
    background: #fff;
    visibility: hidden;
    _visibility: visible;
    box-shadow: 0 0 10px 5px #fff
}

.tweet-actions li {
    _display: inline;
    float: left
}

.tweet-actions a i {
    margin: 1px 0 0 8px;
    *margin: 1px 0 0 3px;
    overflow: hidden
}

.tweet:hover .tweet-actions,.tweet:focus .tweet-actions,.expanded .tweet-actions {
    visibility: visible
}

.tweet .tweet-actions a,.tweet .tweet-actions a b,.tweet .tweet-actions a i,.tweet .tweet-actions li {
    cursor: pointer;
    outline: 0
}

.twt-tweet .tweet-actions .ic-retweet {
    margin-top: 1px
}

.footer {
    min-height: 16px;
    padding-top: 1px;
    margin-top: 2px;
    overflow: hidden;
    border-width: 0;
    -webkit-transition: margin-top .2s ease-out,padding-top .2s ease-out;
    -moz-transition: margin-top .2s ease-out,padding-top .2s ease-out;
    -o-transition: margin-top .2s ease-out,padding-top .2s ease-out;
    transition: margin-top .2s ease-out,padding-top .2s ease-out
}


.follow-button:link,.follow-button:visited {
    display: inline-block;
    padding: 0 5px 0 3px;
    font: bold 11px/18px 'Helvetica Neue',Arial,sans-serif;
    color: #333;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    white-space: nowrap;
    cursor: pointer;
    background-color: #eee;
    background-image: -webkit-linear-gradient(#fff,#dedede);
    background-image: linear-gradient(#fff,#dedede);
    border: #ccc solid 1px;
    border-radius: 3px
}

.ie9 .follow-button:link,.ie9 .follow-button:visited {
    border-radius: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dedede')"
}

.follow-button:focus,.follow-button:hover,.follow-button:active {
    color: #333;
    text-decoration: none;
    background-color: #d9d9d9;
    background-image: -webkit-linear-gradient(#f8f8f8,#d9d9d9);
    background-image: linear-gradient(#f8f8f8,#d9d9d9);
    border-color: #bbb;
    box-shadow: none
}

.timeline-header a.follow-button:link,.timeline-header a.follow-button:visited,.timeline-header a.follow-button:hover,.timeline-header a.follow-button:focus,.timeline-header a.follow-button:active,.thm-dark .timeline-header a.follow-button:link,.thm-dark .timeline-header a.follow-button:visited,.thm-dark .timeline-header a.follow-button:hover,.thm-dark .timeline-header a.follow-button:focus,.thm-dark .timeline-header a.follow-button:active {
    color: #333;
    text-decoration: none
}

.thm-dark a.follow-button:link,.thm-dark a.follow-button:visited,.thm-dark a.follow-button:hover,.thm-dark a.follow-button:focus,.thm-dark a.follow-button:active {
    color: #333
}

.ie9 .follow-button:hover,.ie9 .follow-button:focus,.ie9 .follow-button:active {
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#d9d9d9')"
}

.follow-button:active {
    background-color: #efefef;
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.1)
}

.follow-button:focus {
    border-color: #0089cb;
    outline: 0
}


.e-entry-title, .full-name {
font: normal normal normal 12px/16px "Helvetica Neue",Roboto,"Segoe UI",Calibri,sans-serif;
}

.verified,.ic-rt,.ic-mask,.ic-top,.ic-twitter-alert,.ic-twitter-badge,.ic-bird-flourish,.ic-button-bird,.ic-play {
    display: inline-block;
    vertical-align: middle;
    background: transparent url(../images/sprite.png) no-repeat 0 0;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALEAAADxCA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Gz4H8b0Iv4vrM7fVPI858YAAAAASUVORK5CYII=);
    background-size: 177px 241px
}

.ic-bird-flourish {
    display: block;
    width: 32px;
    height: 20px;
    margin: 12px auto 0;
    background-position: -40px -161px
}

.ic-button-bird {
    width: 16px;
    height: 16px;
    margin: 0 3px 0 0;
    background-position: -73px -160px
}

Leave a Reply

Your email address will not be published. Required fields are marked *