他使用PHP來抓取資訊時
始終抓不到birthday, photo等進一步的資訊
一開始心理一直想應該是permission問題
但是在Facebook 上面的APP 一直就找不到新增其它權限的選項
以前玩明明就有這項東西存在
後來和同事討論找解答後
發現要從
Graph API Explorer裡面去設定
先選到你facebook 的app
點選 Get Access token
選擇你要額外開的權限
選好後 可輸入你的token下語法submit會回傳取到的json格式與內容
sudo apachectl start
/Library/WebServer/Documents/
啟用php功能/etc/apache2/httpd.conf
LoadModule php5_module libexec/apache2/libphp5.so
sudo apachectl restart
cd ; vi .bash_profile
export PATH="/usr/local/mysql/bin:$PATH"
source ~/.bash_profile
mysqladmin -u root password '你要登入mysql的密碼'
sudo mkdir /var/mysql
sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
$cfg['blowfish_secret'] = ‘這是cookie的內容隨便打 ’; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
[self.navigationController popToRootViewController]
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:2] animated:YES];
for (UIViewController *controller in self.navigationController.viewControllers) {
if ([controller isKindOfClass:[你要跳到的UIViewController的class名稱 class]]) {
[self.navigationController popToViewController:controller animated:YES];
}
}
[GMSMapView animateToCameraPosition:]: unrecognized selector sent to instance