can you explain to me how can i call logout function of facebook php sdk, without that logged user have to click on logout link generated with the $facebook->getLogoutUrl.
关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率

已采纳
Facebook PHP SDK注销功能
收起
- 写回答
- 好问题 0 提建议
- 关注问题
微信扫一扫
点击复制链接分享
- 邀请回答
- 编辑 收藏 删除 结题
- 收藏 举报
2条回答 默认 最新
- 关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
dongyuan8312 2011-06-05 07:03关注I think theres no method to do it.. how about making a curl request for the url generated using
$facebook->getLogoutUrl
.in their js api they have provided
FB.logout
http://developers.facebook.com/docs/reference/javascript/FB.logout/
本回答被题主选为最佳回答 , 对您是否有帮助呢? 本回答被专家选为最佳回答 , 对您是否有帮助呢? 本回答被题主和专家选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏举报微信扫一扫
点击复制链接分享
编辑预览轻敲空格完成输入- 显示为
- 卡片
- 标题
- 链接
评论按下Enter换行,Ctrl+Enter发表内容
编辑
预览

轻敲空格完成输入
- 显示为
- 卡片
- 标题
- 链接
报告相同问题?
提交
- 2010-12-28 07:37回答 3 已采纳 You could consider using the FB javascript SDK for doing the logout and then you do not need to re
- 2014-09-16 13:07回答 1 已采纳 You can store and use user FB UID. This UID is permanent and unique for every user. Also if UID i
- 2016-01-21 04:11回答 1 已采纳 That other page is doing something that is not allowed: scraping. It gets your "real" ID directly
- 2023-11-13 09:47salestina的博客 集成多个三方登录sdk
- 2019-08-02 12:56回答 2 已采纳 In the end I just needed to delete the line session_start() and that fixed the problem.
- 2012-09-12 01:33回答 3 已采纳 try removing FB cookie along with unsetting session, like: session_start(); $fb_key = 'fbs_'."YOU
- 2017-06-08 07:31回答 1 已采纳 try this graph api explorer v2.8 but you cannot get share field with graph api v2.9 because shar
- 2020-08-10 07:18culi3118的博客 graph apiIntegrating with Facebook from PHP is easy with the help of Facebook’s PHP SDK and some HTTP libraries like Zend_Http_Client or PEAR HTTP_Request2. In this article I’ll show you how to get ...
- 2014-11-20 08:57回答 2 已采纳 In order to retrieve the session from the server side, you will need to first create a session usi
- 2014-05-22 13:12回答 2 已采纳 Looks like they changed the whole SDK for PHP 5.4. Well there's a few options, you could go with
- 2012-05-20 13:27回答 1 已采纳 getLogoutUrl method returns a URL that, when clicked by the user, will log them out of their Faceb
- 2021-03-06 08:54该项目与Facebook和Andela合作,旨在利用nvidia边缘设备和AWS服务构建人脸识别安全监控系统。 此项目的Web应用程序是使用php构建的。 在此应用程序中执行以下操作 用户注册,登录和注销 用户订阅Firebase通知服务 ...
- 2022-07-10 23:37「已注销」的博客 PHP 官网文档(中文):https://www.php.net/manual/zh/langref.php ThinkPhp (官方手册、入门教程):https://sites.thinkphp.cn/1556331 W3School PHP 教程:...
- 2020-08-02 14:18cukeoumuqian0413的博客 facebook apiFacebook API – Get friends list In our recent tutorials I told you how to import your contacts from google. Today I decided to make similar tutorial, but for facebook. I think that it can...
- 2020-06-18 07:27cunjie3951的博客 Auth0允许您在瞬间设置应用程序的基本身份验证和授权功能。 什么是Auth0? Auth0是一种身份验证即服务工具,可轻松实现站点中与身份验证相关的功能的实现。 如果您已经构建了一个应用程序并且只想将身份验证和...
- 没有解决我的问题, 去提问
联系我们(工作时间:8:30-22:00)
400-660-0108kefu@csdn.net在线客服
- 京ICP备19004658号
- 经营性网站备案信息
公安备案号11010502030143
- 营业执照
- 北京互联网违法和不良信息举报中心
- 家长监护
- 中国互联网举报中心
- 网络110报警服务
- Chrome商店下载
- 账号管理规范
- 版权与免责声明
- 版权申诉
- 出版物许可证
- ©1999-2025北京创新乐知网络技术有限公司