- Basic approach is to do a project-wide search for
FB.
and do the below: - add
oauth: true
toFB.init
call - in the response from
FB.login
,FB.getStatus
, etc., changesession
toauthResponse
. It will be null if they user didn't allow, as withsession
. - replace all use of the terms
perms
with the termscope
- Doesn't look like we can check permissions in the response?
- Update all
FB.event.subscribe
calls listening for events withsession
in the name to listen for equivalentauthResponse
events. session.uid
is nowauthResponse.userID
session.access_token
is nowsession.accessToken
- whereas previously, when authenticating and making an API call on a subsequent page, the API call seemed to work immediately, with the access token passed along. This does not appear to be the case anymore - all API calls that require auth should be within an
FB.login
orFB.checkLoginStatus
callback.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css" media="screen"> | |
.field_with_errors + .label_text { | |
color: red; | |
} | |
</style> | |
<div> | |
<%= f.label :terms_levis do %> | |
<%= f.check_box :terms_levis, :class => "checkbox" %> | |
<span class="label_text">I accept <a href="#" target="_blank">the terms for Levi's Fantasy Election Weekly Challenge Sweepstakes</a>.</span> | |
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export PATH=/usr/local/bin:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
linear-gradient( | |
80 bottom, | |
rgb(31,79,87) 2%, | |
rgb(47,89,101) 20%, | |
rgb(101,147,150) 100%, | |
rgb(47,89,101) 100% | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GLOBAL | |
nav - SMG regular; 27, 89, 101; 11 pt | |
nav header - SMG regular; 255, 255, 255; 16 pt | |
page heading - SMG regular, 48, 121, 128; 22 pt | |
paragraph heading - SMG regular, 48, 121, 128; 18 pt | |
HOME PAGE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
→ rvm get head | |
BASH 3.2.48 required (you have 3.2.48(1)-release) | |
Could not update RVM, get some help at #rvm IRC channel at freenode servers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row clearfix"> | |
<div class="field_with_errors"> | |
<input class="input_text" data-validate="true" id="stream_search_query" name="stream_search[query]" size="30" type="text" value="crucible"> | |
<label for="stream_search_query" class="message">can't be blank</label> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cross-domain-policy> | |
<site-control permitted-cross-domain-policies='master-only'/> | |
<allow-access-from domain='*'/> | |
</cross-domain-policy> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> | |
<!-- at /api/crossdomain.xml --> | |
<cross-domain-policy> | |
<allow-access-from domain="*"/> | |
</cross-domain-policy> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lte IE 8]> | |
<link href="ie8.css" media="screen" rel="stylesheet" type="text/css" /> | |
<![endif]--> | |
<!--[if IE 7]> | |
<link href="ie7.css" media="screen" rel="stylesheet" type="text/css" /> | |
<![endif]--> |