This file contains hidden or 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
{ | |
"data": [ | |
{ | |
"name": "Your Page", | |
"access_token": "AAAAABBBBBBBBBBCCCCCCCCCCCDDDDDDDDDEEEEEEEEEFFFFFFGGGGGGHHHHHHIIIIIIJJJJJJJJKKKKKKKKLLLLLLLLL", | |
"category": "Website", | |
"id": "01234567890", | |
"perms": [ | |
"ADMINISTER", | |
"EDIT_PROFILE", |
This file contains hidden or 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 (typeof console == "object") { | |
if ( navigator.userAgent.indexOf('Chrome') != -1 ) { | |
console.log("%cHey! What are you looking under here for? https://www.webniraj.com/", "color: #0677c8; font-size: 18px; font-family: 'Helvetica-Neue', Helvetica, Arial, sans-serif;"); | |
} else { | |
console.log("Hey! What are you looking under here for? https://www.webniraj.com/"); | |
} | |
} |
This file contains hidden or 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
<!-- Include the twitter JS library --> | |
<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script> | |
<!-- Tweet button with just text --> | |
<p><a href="https://twitter.com/intent/tweet?text=My first tweet using Web Intents">Tweet</a></p> | |
<!-- Tweet button with link and text --> | |
<p><a href="https://twitter.com/intent/tweet?url=http://www.webniraj.com/2013/08/08/twitter-api-tracking-tweets-using-web-intents/&text=Tracking tweets using Web Intents:"><img src="https://dev.twitter.com/sites/default/files/images_documentation/bird_blue_48.png" /></a></p> | |
<script type="text/javascript"> |
This file contains hidden or 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
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=API_KEY_GOES_HERE&sensor=true"></script> |
This file contains hidden or 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
public function save_share() { | |
$response = array( 'response' => 'true' ); | |
$this->load->model( 'Share_model' ); | |
$meta = $this->input->post('meta'); | |
$insert = array( | |
'share_type' => $type, | |
'share_meta' => $meta['post_id'], |
This file contains hidden or 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
{ | |
"post_id": "60506094_10100168488435226" | |
} |