-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
402 additions
and
182 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
|
||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>OAuth Popup Callback</title> | ||
<style type="text/css"> | ||
html, | ||
body { | ||
height: 100%; | ||
width: 100%; | ||
margin: 0px; | ||
padding: 0px; | ||
font-family: Lucida Sans, Lucida Grande, Arial !important; | ||
font-size: 14px; | ||
} | ||
|
||
</style> | ||
<script type="text/javascript" src="//js.arcgis.com/3.17"></script> | ||
<script type="text/javascript"> | ||
require([ | ||
"esri/urlUtils", | ||
"dojo/domReady!" | ||
], function (urlUtils) { | ||
var url = document.location.href; | ||
var urlObject = urlUtils.urlToObject(url); | ||
urlObject.query = urlObject.query || {}; | ||
var redirect = urlObject.query.redirect; | ||
if (redirect) { | ||
location.href = redirect + location.hash; | ||
} | ||
else { | ||
window.opener.instagramCallback(location.hash); | ||
window.close(); | ||
} | ||
}); | ||
|
||
</script> | ||
</head> | ||
|
||
<body> | ||
<!--OAuth Popup Callback--> | ||
</body> | ||
|
||
</html> |
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
Oops, something went wrong.