Welcome Guest, Not a member yet? Register   Sign In
How to use facebook sdk4?
#1

Hi

I don't know how to use it?
Can i use facebook sdk4 to create apps with codeigniter?

Please tell how to include facebook ?
Reply
#2

You can use the Facebook SDK with CodeIgniter. I would recommend installing the SDK using composer and then build a library as a wrapper of the SDK to get easy integration with CodeIgniter.

If you don't want to build that library your self I have made one that is free to use for anyone. You can find it here https://github.com/darkwhispering/facebo...deigniter/

Use it as is, or use it as a reference on how to included the Facebook SDK with CodeIgniter. Either way, I'm happy that my code helped in any way.
Reply
#3

Thanks for your reply.
Can you tell me how to compile myself?

Facebook has given the composer.json file. I have already installed the composer.
I will try myself in my localhost host. If it is very complicated, i will go ahead and use your code.
I think learning this will help me to include other libraries in future.

Please link if you have written any tutorial for this.

Thanks for your help
Reply
#4

I have not, but here is a good guide that should put you on the right track on implementing your own solution http://www.benmarshall.me/facebook-sdk-p...deigniter/

Even if you don't use my code, use it as a reference on how to build your own.
Reply
#5

better download the SDK from the facebook itself.
Reply
#6

(04-16-2015, 02:22 AM)alkarim Wrote: better download the SDK from the facebook itself.

You do when using my library as it requires you to install the Facebook SDK using Composer.
Reply
#7

Do we need to rewrite all the facebook methods in our facebook library?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB