dongyu9667 2011-06-30 03:53
浏览 174
已采纳

Facebook应用实例设置

I have an app that needs to have unique settings to each instance of a user adding it to their page (it is made to be added as a tab).

I have not been able to find any documentation to do this -- does anyone know how? Or does anyone have an example to follow or a place to learn?


SOLUTION

I made a section on the Tab for the app user's page that only shows to admin's of Page. It links to a page in my app sending the page_id to my page. This allows me to now store information (and settings) in my database based off the page_id.

I found that Facebook has a section to go to an App's settings page (which you can set up in your application settings via the Developer App) which also sends the page_id -- but it doesn't send it in an encrypted sense, so I encrypted the page_id with my settings option.

If anyone needs further explanation, feel free to message me I would be happy to help.

  • 写回答

3条回答 默认 最新

  • doufang2023 2011-07-02 19:37
    关注

    I'm pretty sure what you are looking for is the "page" instance. Every page has a Facebook ID just like every user does. For the most part, you can use a page ID anywhere you would a user ID. What you want to do is capture the ID of the page, not the ID of the user adding it to the page (the admin). Scroll almost all the way to the bottom if this URL to see how to grab the page ID: http://developers.facebook.com/docs/guides/canvas/

    Basically, an additional parameter is included call "page" that will contain the page ID. Use that to interact with the page and store any session information.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教