Skip to content
Permalink
Browse files

Added retrieval of app_data in URL

  • Loading branch information...
niraj-shah committed Jun 11, 2014
1 parent 4d77aa2 commit b550927c5a6eb8d40768e40cb7ac1d93d93e2a00
Showing with 14 additions and 1 deletion.
  1. +14 −1 src/Facebook/FacebookPageTabHelper.php
@@ -111,6 +111,19 @@ public function getUserId()
}
return null;
}
/**
* Returns the app_data if available.
*
* @return object|null
*/
public function getAppData()
{
if (isset($this->parsedSignedRequest['app_data'])) {
return $this->parsedSignedRequest['app_data'];
}
return null;
}
/**
* Parses a signed request.
@@ -158,4 +171,4 @@ private function parseSignedRequest($signedRequest)
}
}
}
}

0 comments on commit b550927

Please sign in to comment.
You can’t perform that action at this time.