Hi deth4uall!
I saw your work, I think it is very useful! Just yesterday I coded a simple FB-SDK Cache Wrapper. It’s very simple, when it does a request to a facebook servers, the result has save using a Codeigniter Cache Driver.
This make your application very fast! I think which is a usefull feature for your project!
Hi deth4uall!
I saw your work, I think it is very useful! Just yesterday I coded a simple FB-SDK Cache Wrapper. It’s very simple, when it does a request to a facebook servers, the result has save using a Codeigniter Cache Driver.
This make your application very fast! I think which is a usefull feature for your project!
Thanks for presenting that to me. I however see a few things with it that may be somewhat of an issue. ->getSession() function no longer exists in the 3.0.0+ SDK. Also getUser() returns the ID number of the user, not any of the details regarding the user. Other than that it looks good and the caching could definitely be a plus to my library if I could have your permission to use the idea?
Thanks for presenting that to me. I however see a few things with it that may be somewhat of an issue. ->getSession() function no longer exists in the 3.0.0+ SDK. Also getUser() returns the ID number of the user, not any of the details regarding the user. Other than that it looks good and the caching could definitely be a plus to my library if I could have your permission to use the idea?
I still don’t see a new version of facebook SDK. How i said my wrapper is still a beta version, but thank you very much for your suggestion!
Certainly You can use the idea! But if you become famous for this project remember me!
Thanks for presenting that to me. I however see a few things with it that may be somewhat of an issue. ->getSession() function no longer exists in the 3.0.0+ SDK. Also getUser() returns the ID number of the user, not any of the details regarding the user. Other than that it looks good and the caching could definitely be a plus to my library if I could have your permission to use the idea?
I still don’t see a new version of facebook SDK. How i said my wrapper is still a beta version, but thank you very much for your suggestion!
Certainly You can use the idea! But if you become famous for this project remember me!
https://github.com/facebook/php-sdk/ Go there and click downloads, they have v3.0.1 ready. And yes I will put you in credits of README if I use it. If you have any other ideas please let me know.
EDIT: I ended up not using the caching technique because I did not have enough functions that would be able to use the caching like i wanted it to. Thanks though man.
- Added extending permissions ability to fb_check_permission() function.
- Added fb_create_event() function which allows you to create an event.
- Added the ability to define scope in fb_login_url().
- Added the support for Facebook Connect to Library while creating a config setting that decides what type to use.
- Added Facebook register plugin support in fb_register_form() function to the Library, parses raw JSON or Array (converts to JSON) and returns an iframe which the system then pulls up the form in. As well as JSON support, the fb_register_form() function can also take html attributes to modify the look of iframe.
- Added fb_feed() function which allows for a non JavaScript method of publishing to a feed as well as deleting posts.
I started using your code just to see how CI could be integrated with FB-SDK and I have to say that so far, so good! Some time ago, I worked with CI+FB but honestly I had tons of problems or errors when I was trying to adapt it with some other code.
I have installed and have the connection working just fine. I downloaded the ‘min’ version since I have a lot of other code I am integrating with. But maybe I am missing something really obvious. There are many explanations missing such as, how do I do a simple graph call? What exactly is the format? Could you provide some example of calling the FB api? I tried this…
Also, how does function fb_accept_requests($request_ids, $callback = false) even work?
You’ve got two input parameters, but the first one is comma-delimited (according to the explode call later down) and then you use $request as a variable in the graph call but it is never defined???
https://bitbucket.org/deth4uall/facebook-ignited/wiki/API Here is the API Documentation.
The delimitation is for when facebook throws multiple requestids. They will be separated by commas, so I have made sure to compensate for that.
You can use fb_list_friends($value=“uid”) for getting the list of Users IDs for your friends who are also users of the app.
and then you use $request as a variable in the graph call but it is never defined???
You are have an older version, I fixed that in v1.0.5.
I am working on the code for v1.0.6, adding some extras and expanding the usability of the functions already stated, for example for fb_get_app() you can now declare which global you want to call, as well as choose if you want your full friends list from fb_list_friends().
That’s great! I was looking for a full-friends list function, then realized that your function actually did what I wanted. I was also going to suggest that the fb_set_globals method in fb_ignited be made private. Just for security… If you’re interested, my app is called tellsocial. (http://www.tellsocial.net). I can make you a tester if you want to see your code in action!