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 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么