<? require('../../classes/twitter/twiapi.php'); session_start(); $api = new TwiApi(); $answer = $api->GetUsersLookup("screen_name", "BananaaYogurt"); $response = $answer; $user = $response[0]; $followers = $api->GetFollowersList("screen_name", "BananaaYogurt"); $friends = $api->GetFriendsListByScreenName("BananaaYogurt"); ?> <!DOCTYPE html> <head> <title>Kwacker</title> <meta charset="UTF-8" /> <link rel="stylesheet" type="text/css" href="styles.css" /> </head> <body> <div id="ribbon"> <img src="images/logo.png" id="logo"/> <img src="images/kwacker.png" id="kwacker" /> </div> <div id="info"> <h1>Account info</h1> <table> <tr>
<?php require '../../classes/twitter/twiapi.php'; require "TwitterOAuth/autoload.php"; //загрузка библиотеки use Abraham\TwitterOAuth\TwitterOAuth; $TwiApi = new TwiApi(); ?> <html> <Head> <meta charset="UTF-8" /> <title>Twitter</title> <style> body{ background-image: url(fon.jpg); background-size: cover; } .background { padding: 0px; background: #00B0ED; padding-left: 10px; margin-left: 55px; padding-right: 10px; margin-right: 55px; } .form{ font-size: 32px; padding-top:0px; line-height: 0px; padding-left: 10px; margin-left: 55px;
<?php require '../../classes/twitter/twiapishakirov.php'; require "TwitterOAuth/autoload.php"; use Abraham\TwitterOAuth\TwitterOAuth; $api = new TwiApi(); ?> <html> <Head> <meta charset="UTF-8" /> <title>Search tweets</title> <style> .form { text-align: center; } .background { background-image: url(bg.png); background-position: left 40px; background-attachment: fixed; background-repeat: repeat; background-repeat: no-repeat; background-color: #C0DEED; } </style> </Head> <Body> <form class="form" action="" method="post"> <label>Search # : <input type="text" name="keyword_hash" /></label>