doupi6737 2013-12-17 19:04
浏览 100
已采纳

使用Facebook api在用户的Facebook页面中创建标签

I know this is possible using the API. But my requirement is that each user has his own url and I need to get content from that particular users url for his facebok page.

Example:

User1 page: https://mysite.com/user1 User2 page: https://mysite.com/user2

I need to show https://mysite.com/user1 in user1's facebook page and https://mysite.com/user2 on user2's facebook page

So my question is:

Is it possible to use a single app for this? or should I use seperate app for each user?

if I need to create seperate app for each user then can I create it using the api?(So that the user can use my site to create the app and use it in his facebook page)

  • 写回答

1条回答 默认 最新

  • duannv2081 2013-12-18 09:13
    关注

    I didnt get your requirement clearly but still you can create separate app URLs for every user by passing a GET parameter(app_data). For Eg. www.facebook.com/PAGE_NAME/app_APP_ID is your app URL

    for user 1: www.facebook.com/PAGE_NAME/app_APP_ID?app_data=some_data1 for user 2: www.facebook.com/PAGE_NAME/app_APP_ID?app_data=some_data2

    Note: GET parameter name has to be "app_data"

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

报告相同问题?

悬赏问题

  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的
  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型
  • ¥15 求学软件的前人们指明方向🥺