dream5694 2011-10-25 14:22
浏览 67
已采纳

获得Facebook用户ID /用户名来获取没有Facebook SDK的个人资料图片? PHP

I'm looking for a way to get a users facebook profile id or username which i can use to get the profile picture based on the users account. I know how to fetch the picture already (http://graph.facebook.com/username_or_id/picture). I don't want to ask the user to submit their fb username (or worse - their profile id), i need it all done automatically (happy user).

Now i have not setup a Facebook app to use the facebook SDK so i don't have a appID or a secret code...

The reason for not setting it up is because im working on something that not only i will use. It's a project where others will be able to use on their own domain and i don't want to ask the users to setup their own FB app just to get this working so im looking for a way to do it, without the FB SDK? or have i got it all wrong?

  • 写回答

1条回答 默认 最新

  • dongsu7049 2011-10-25 14:27
    关注

    You can do everything without FB SDK (it's just a library), but you can do nothing without application. So no, you can't get user's ID without their knowledge

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 关于#python#的问题:自动化测试
  • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题