mike king - storytelling by numbers mktfest 2014
DESCRIPTION
Get videos from all our lectures - http://video.marketingfestival.cz Marketing Festival - World-Class Digital Marketing Event #mktfest Czech RepublicTRANSCRIPT
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
gt
This is a comment
This is also a comment
on multiple lines
$a = 5
+
ndash
$f = lsquomarketingrsquo rsquofestivalrsquo
Sets the value of $f to
ldquomarketingfestivalrdquo
if ( condition )
do things
elseif( condition)
do other things
else
do other things
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
gt
This is a comment
This is also a comment
on multiple lines
$a = 5
+
ndash
$f = lsquomarketingrsquo rsquofestivalrsquo
Sets the value of $f to
ldquomarketingfestivalrdquo
if ( condition )
do things
elseif( condition)
do other things
else
do other things
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
gt
This is a comment
This is also a comment
on multiple lines
$a = 5
+
ndash
$f = lsquomarketingrsquo rsquofestivalrsquo
Sets the value of $f to
ldquomarketingfestivalrdquo
if ( condition )
do things
elseif( condition)
do other things
else
do other things
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
gt
This is a comment
This is also a comment
on multiple lines
$a = 5
+
ndash
$f = lsquomarketingrsquo rsquofestivalrsquo
Sets the value of $f to
ldquomarketingfestivalrdquo
if ( condition )
do things
elseif( condition)
do other things
else
do other things
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
ltphp
gt
This is a comment
This is also a comment
on multiple lines
$a = 5
+
ndash
$f = lsquomarketingrsquo rsquofestivalrsquo
Sets the value of $f to
ldquomarketingfestivalrdquo
if ( condition )
do things
elseif( condition)
do other things
else
do other things
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
ltphp
gt
This is a comment
This is also a comment
on multiple lines
$a = 5
+
ndash
$f = lsquomarketingrsquo rsquofestivalrsquo
Sets the value of $f to
ldquomarketingfestivalrdquo
if ( condition )
do things
elseif( condition)
do other things
else
do other things
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
ltphp
gt
This is a comment
This is also a comment
on multiple lines
$a = 5
+
ndash
$f = lsquomarketingrsquo rsquofestivalrsquo
Sets the value of $f to
ldquomarketingfestivalrdquo
if ( condition )
do things
elseif( condition)
do other things
else
do other things
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
ltphp
gt
This is a comment
This is also a comment
on multiple lines
$a = 5
+
ndash
$f = lsquomarketingrsquo rsquofestivalrsquo
Sets the value of $f to
ldquomarketingfestivalrdquo
if ( condition )
do things
elseif( condition)
do other things
else
do other things
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
This is a comment
This is also a comment
on multiple lines
$a = 5
+
ndash
$f = lsquomarketingrsquo rsquofestivalrsquo
Sets the value of $f to
ldquomarketingfestivalrdquo
if ( condition )
do things
elseif( condition)
do other things
else
do other things
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
$a = 5
+
ndash
$f = lsquomarketingrsquo rsquofestivalrsquo
Sets the value of $f to
ldquomarketingfestivalrdquo
if ( condition )
do things
elseif( condition)
do other things
else
do other things
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
+
ndash
$f = lsquomarketingrsquo rsquofestivalrsquo
Sets the value of $f to
ldquomarketingfestivalrdquo
if ( condition )
do things
elseif( condition)
do other things
else
do other things
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
$f = lsquomarketingrsquo rsquofestivalrsquo
Sets the value of $f to
ldquomarketingfestivalrdquo
if ( condition )
do things
elseif( condition)
do other things
else
do other things
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
if ( condition )
do things
elseif( condition)
do other things
else
do other things
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
$a = 50
if($a == 49)
echo ldquoa is 49rdquo
elseif($a == 52)
echo ldquoa is 52rdquo
else
echo ldquoa is not a known numberrdquo
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
while foreach
for (initial value of counter loop
ending condition counter increment or
decrement)
do things
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
$count = 40
For ($x=1$xlt($count+1)$x++)
echo $x ldquoltBrgtrdquo
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
$count = 40
For ($x=1$xlt$count$x++)
for ($y=0$ylt10$y++)
echo $x+$y ldquoltBrgtrdquo
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
$variable[0] = ldquothis is
first element of an arrayrdquo
$variable[1] = ldquothis is
second element of an
arrayrdquo
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
$variable[ldquoelementrdquo] = ldquothis
is first associative element
of an arrayrdquo
$variable[ldquosecondrdquo] = ldquothis
is second associative
element of an arrayrdquo
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
$variable[ldquoelementrdquo][ldquoscorerdquo] = 80
$variable[ldquosecondrdquo][5] = ldquothis is
the 6 element within the second
elementrdquo
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoinsert file name
herecsvrdquo)
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
ltphp
include_once ldquocsv-handlersphprdquo
$csv = csv_to_array(ldquoexamplecsvrdquo)
print_r($csv)
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
ltphp
include_once restclientphp
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
$response = $api-gtget(count array(v =gt 10 url
=gthttpwwwmarketingfestivalcz))
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
if($response-gtinfo-gthttp_code == 200)
$twitterResponse = $response-gtdecode_response()
echo tweet count is $twitterResponse-gtcount
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
ltphp
include_once ldquocsv-handlersphprdquo
makeCSV ($csv ldquotestcsvrdquo)
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
ltphp
include_once restclientphp
include_once csv-handlersphp
$csv = csv_to_array(urlscsv)
$countOfCsvLines = count($csv)
$api = new RestClient(array(
base_url =gt httpurlsapitwittercom1urls
format =gt json
))
echo ltTablegtlttrgtlttdgtURLlttdgtlttdgtTweet Countlttdgtlttrgt
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
for($x=0$xlt$countOfCsvLines$x++)
echo lttrgt
$result = $api-gtget(count array(v =gt 10 url
=gt$csv[$x][urls]))
echo lttdgt$csv[$x][urls]lttdgt
if($result-gtinfo-gthttp_code == 200)
$twitterResponse = $result-gtdecode_response()
$socialShares[$x][urls] = $csv[$x][urls]
$socialShares[$x][tweetCount] =
$twitterResponse-gtcount
else
$socialShares[$x][tweetCount] = unknown
echo lttdgt$socialShares[$x][tweetCount]lttdgt
echo lttrgt
echo ltTablegt
makeCSV($socialSharessharescsv)
echo lta href=sharescsvgtSharescsvltagt
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
X-Quota-Remaining
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
ltphp
include_once ldquordquo
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
iPullRank
THANK YOU ANY QUESTIONS
iPullRank
THANK YOU ANY QUESTIONS
THANK YOU ANY QUESTIONS