謝晒的PHP網頁設計
聯絡E-mail:
sean0704@gmail.com
站內搜尋
Monday, August 15, 2011
[facebook] php sdk 3.0 getLoginUrl 新的使用方法
3.0的getLoginUrl已經無法使用req_perms了,請改用scope,範例如下:
$loginUrl = $facebook->getLoginUrl(array('redirect_uri'=>'你的app url','scope'=>'email, publish_stream'));
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment