开发者

Do I need a library for Codeigniter to create a Facebook application?

开发者 https://www.devze.com 2023-04-05 21:55 出处:网络
Do I need an entire library to crate a Facebook app with Codeigniter?I have not made an app for Faceb开发者_运维百科ook before the the developer documentation looked simiple.Beyond using my \"secret\"

Do I need an entire library to crate a Facebook app with Codeigniter? I have not made an app for Faceb开发者_运维百科ook before the the developer documentation looked simiple. Beyond using my "secret" id for my app what else would I need to do to send my output via my view back to the facebook canvas? Are things more complicated than they seem? Don't I just output to my view as normal except things go to the canvas? Thanks.


No, you do not need a library. You can make all requests to the Facebook Graph api using cURL or any other method to call urls.
However using the Facebook PHP SDK does help, it has a lot of helper methods that you'll find useful, do check this link to the documentation for the sdk, it's helpful.
Hope this answer helps you.
p.s: And yeah you just output to your view as any other web app


No, you do not need a library, but it will make the process much smoother and take care of a lot of baseline functionality that you will need.

You might checkout my post here to see exactly how to integrate the offical facebook SDK within a codeigniter application as a stand alone library...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号