Skip to content

Instantly share code, notes, and snippets.

@bright-spark
Created June 18, 2016 14:38
Show Gist options
  • Select an option

  • Save bright-spark/9756fa2d51ab7c480ad1db8d2e15bc8a to your computer and use it in GitHub Desktop.

Select an option

Save bright-spark/9756fa2d51ab7c480ad1db8d2e15bc8a to your computer and use it in GitHub Desktop.
jrMMVy
<div class="container">
<div class="header clearfix">
<nav>
<ul class="nav nav-pills pull-right">
<li role="presentation" class="active"><a href="#">Home</a></li>
<li role="presentation"><a href="#">About</a></li>
<li role="presentation"><a href="#">Contact</a></li>
</ul>
</nav>
<h3 class="text-muted"><a href="#" class="pull-left"><img height=50px src="http://de4.engine.flamingtext.com/netfu/tmp28009/coollogo_com-142981024.png"></a></h3>
</div>
<div class="jumbotron">
<h1>See who liked you on tinder</h1>
<form class="form-signin">
<label for="inputEmail" class="sr-only">Facebook User ID</label>
<input type="email" id="inputEmail" class="form-control" placeholder="Facebook User ID" required autofocus>
<label for="inputPassword" class="sr-only">Tinder Authentication Token</label>
<input type="password" id="inputPassword" class="form-control" placeholder="Tinder Authentication Token" required>
<div class="checkbox">
<label>
<input type="checkbox" value="remember-me"> Remember me
</label>
</div>
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
<br><p class="">Don't know your ID and token? Keep reading for instructions</p>
</form>
</div>
<div class="row marketing">
<div class="col-lg-6">
<h4>How to get your user ID</h4>
<p>Visit <a href="http://findmyfacebookid.com">http://findmyfacebookid.com</a></p>
<p>In the box, simply paste the URL this link leads you to: <a href="https://www.facebook.com/profile.php">https://www.facebook.com/profile.php</a></p>
</div>
<div class="col-lg-6">
<h4>How to get your authentication token</h4>
<p>Visit the following link: <a href="https://www.facebook.com/dialog/oauth?client_id=464891386855067&redirect_uri=https://www.facebook.com/connect/login_success.html&scope=basic_info,email,public_profile,user_about_me,user_activities,user_birthday,user_education_history,user_friends,user_interests,user_likes,user_location,user_photos,user_relationship_details&response_type=token
">Tinder authentication</a>.</p>
<p>You'll have less than a second to copy the URL that the link redirects to. A shortcut to do this is CTRL+L (select the URL bar) then CTRL-C (copy).</p>
<p>Your URL will look something like <span class="code">facebook.com/connect/login_success.html#access_token=CAAG.......&expires_in=123</span></p>
<p>Your access token is everything starting with CAAG and before &expires_in</p>
<p>Be careful sharing this- anyone with the token could potentially log in to your Tinder account!</p>
</div>
</div>
<footer class="footer">
<p>&copy; 2015</p>
</footer>
</div> <!-- /container -->
/* general page stuff */
/* Space out content a bit */
body {
padding-top: 20px;
padding-bottom: 20px;
}
/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
padding-right: 15px;
padding-left: 15px;
}
/* Custom page header */
.header {
padding-bottom: 20px;
border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
margin-top: 0;
margin-bottom: 0;
line-height: 40px;
}
/* Custom page footer */
.footer {
padding-top: 19px;
color: #777;
border-top: 1px solid #e5e5e5;
}
/* Customize container */
@media (min-width: 768px) {
.container {
max-width: 730px;
}
}
.container-narrow > hr {
margin: 30px 0;
}
/* Main marketing message and sign up button */
.jumbotron {
text-align: center;
border-bottom: 1px solid #e5e5e5;
background-color: #fafafa;
}
.jumbotron h1 {
color: #fc735d;
}
.jumbotron .btn {
padding: 14px 24px;
font-size: 21px;
}
.form-signin button {
background-color: #ffffff;
color: #fc735d;
}
/* Supporting marketing content */
.marketing {
margin: 40px 0;
}
.marketing p + h4 {
margin-top: 28px;
}
.col-lg-6 {
padding-top: 20px;
}
.code {
font-family: monospace;
word-break: break-all;
}
.checkbox {
float: left;
margin-top: 0px;
padding-bottom: 10px;
font-size: 16px;
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
/* Remove the padding we set earlier */
.header,
.marketing,
.footer {
padding-right: 0;
padding-left: 0;
}
/* Space out the masthead */
.header {
margin-bottom: 30px;
}
/* Remove the bottom border on the jumbotron for visual effect */
.jumbotron {
border-bottom: 0;
}
}
/* sign in stuff */
.form-signin {
max-width: 330px;
padding: 15px;
margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
margin-bottom: 10px;
}
.form-signin .checkbox {
font-weight: normal;
}
.form-signin .form-control {
position: relative;
height: auto;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 10px;
font-size: 16px;
}
.form-signin .form-control:focus {
z-index: 2;
}
.form-signin input[type="email"] {
margin-bottom: -1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment