bunlongheng
3/22/2016 - 3:39 PM

FacebookRoute.php


/*================================
=            Facebook            =
================================*/

Route::get('/facebook/callback', 'FacebookController@callback');
Route::get('/facebook/link', 'FacebookController@link');
Route::post('/facebook/activate', 'FacebookController@activate');

Route::get('/facebook/page/feed', 'FacebookController@pageFeed');
Route::get('/facebook/page/id/client', 'FacebookController@getPageIdBaseFbUsername');
Route::get('/facebook/page/id', 'FacebookController@getPageId');
Route::get('/facebook/page/fan', 'FacebookController@getFan');
Route::get('/facebook/page/token', 'FacebookController@getPageToken');
Route::get('/facebook/page/feed/truncate', 'FacebookController@feedTruncate');
Route::get('/facebook/page/like', 'FacebookController@like');
Route::get('/facebook/page/cover', 'FacebookController@cover');
Route::get('/facebook/page/view/count', 'FacebookController@getViewProfileCount');


Route::post('/facebook/page/status/post','FacebookController@post');
Route::post('/facebook/page/url/post','FacebookController@postUrl');
Route::post('/facebook/page/deactivate','FacebookController@pageDeactivate');
Route::post('/facebook/page/activate','FacebookController@activatePage');


Route::get('/facebook/user/feed', 'FacebookController@userFeed');
Route::get('/facebook/user/account', 'FacebookController@getUserAccount');
Route::get('/facebook/user/id', 'FacebookController@getUserId');
Route::post('/facebook/user/deactivate','FacebookController@userDeactivate');