Skip to content

Commit

Permalink
remove publish_actions requirement, and copyright from code
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenbagai authored and Pedro Belo committed Nov 1, 2011
1 parent 10eacc4 commit 60da090
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion AppInfo.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
// Copyright 2004-present Facebook. All Rights Reserved.

/**
* This class provides static methods that return pieces of data specific to
Expand Down
3 changes: 1 addition & 2 deletions FBUtils.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
// Copyright 2004-present Facebook. All Rights Reserved.

/**
* This class provides Facebook specfic utility functions that you may use
Expand Down Expand Up @@ -71,7 +70,7 @@ public static function login($redirect) {
// permissions your app needs.
// See https://developers.facebook.com/docs/reference/api/permissions/
// for a full list of permissions
$scope = 'publish_actions,user_likes,user_photos,user_photo_video_tags';
$scope = 'user_likes,user_photos,user_photo_video_tags';
session_start();
$code = $_REQUEST["code"];
// If we don't have a code returned from Facebook, the first step is to get
Expand Down
1 change: 0 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
// Copyright 2004-present Facebook. All Rights Reserved.

// Enforce https on production
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == "http" && $_SERVER['REMOTE_ADDR'] != '127.0.0.1') {
Expand Down
1 change: 0 additions & 1 deletion utils.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
// Copyright 2004-present Facebook. All Rights Reserved.

/*****************************************************************************
*
Expand Down

0 comments on commit 60da090

Please sign in to comment.