[Spark] Refactor facebook id and request handling

Review Request #192 — Created Oct. 16, 2013 and submitted — Latest diff uploaded

pprkut
Lunr
pprkut:facebook_page
190
220
lunr
Attempt #2 on sharing the resource ids. This time we keep the profile ID separate (for check_permissions).
Additionally move the common parts of the get_data() methods into the Api class.
Unit tests, Virus check run
src/Lunr/Spark/Facebook/Api.php
src/Lunr/Spark/Facebook/Page.php
src/Lunr/Spark/Facebook/User.php
src/Lunr/Spark/Facebook/UserProfile.php
src/Lunr/Spark/Facebook/Tests/ApiBaseTest.php
src/Lunr/Spark/Facebook/Tests/ApiFetchDataTest.php
src/Lunr/Spark/Facebook/Tests/PageBaseTest.php
src/Lunr/Spark/Facebook/Tests/PageGetDataTest.php
src/Lunr/Spark/Facebook/Tests/UserBaseTest.php
src/Lunr/Spark/Facebook/Tests/UserProfileBaseTest.php
tests/phpunit.xml
Loading...