ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Facebook Ignited

May 01, 2011 4:28am

Subscribe [48]
  • #16 / Jun 07, 2011 1:06am

    deth4uall

    77 posts

    I am working on some new features for a release for v1.0.4. Features include fb_is_liked(), fb_is_bookmarked(), fb_check_permissions(‘publish_stream’), fb_list_friends(), etc.

    Also I am working on implementing a Facebook Credits interface, but as of right now I am just researching it and since the documentation for Facebook Credits is a bit lacking I am having to experiment and see what makes the example tick. 😛

  • #17 / Jun 07, 2011 9:54am

    Asiansexynine

    16 posts

    I am working on some new features for a release for v1.0.4. Features include fb_is_liked(), fb_is_bookmarked(), fb_check_permissions(‘publish_stream’), fb_list_friends(), etc.

    Also I am working on implementing a Facebook Credits interface, but as of right now I am just researching it and since the documentation for Facebook Credits is a bit lacking I am having to experiment and see what makes the example tick. 😛


    What about Facebook invite?  user are connect via facebook connect allow invite facebook friends to visit a profile on website?

  • #18 / Jun 07, 2011 12:44pm

    deth4uall

    77 posts

    What about Facebook invite?  user are connect via facebook connect allow invite facebook friends to visit a profile on website?

    Explain what you mean by that? Are you talking about a Facebook App Request? If so that has a JavaScript SDK solution, which I will also be creating a PHP version of when I can.

    Right now I am stuck with a bug via the Facebook Credits, for some reason I am not pulling the ‘credits’ from the signed_request. Any one who is able to take a look at my work and give me a critique or solution, I appreciate the time you spend.

  • #19 / Jun 09, 2011 7:50pm

    deth4uall

    77 posts

    Release v1.0.4

    - Upgraded the Facebook PHP SDK to v3.0.1
    - Minor fixes in code to make sure compatability with servers that do not support PHP Short Tags.
    - Added PHP redirect support for the fb_get_me() function, added to the javascript redirect support already present.
    - Added fb_is_bookmarked() function which returns a boolean value regarding if app is bookmarked.
    - Added fb_check_permissions($permission) function which will check if that the permission you are looking for is already authorized.
    - Added fb_is_liked() function which will return a boolean value regarding whether a person has like your app’s page.
    - Added fb_list_friends() function which will return an array of values for which of your friends also installed app.
    - Added fb_process_credits() function which will allow ability to process Facebook Credits.

    - Also dropped including User Guide with the downloadable packages, which is still included in repository, to allow for faster download.
    - Also uploaded a Min version which is JUST the Facebook Ignited files and change logs, for those of you who already have a copy of CodeIgniter and want to drop these files in.

    NOTE: The latest version does require a database to included with your app, so just follow the readme and you will be able to take advantage of the Facebook Credits function.

  • #20 / Jun 10, 2011 10:13am

    Daem0nX

    8 posts

    Wanted to say thank you and keep up the good work. Noticed in 1.0.4-min that /helpers/params_helper.php is missing.

  • #21 / Jun 10, 2011 12:46pm

    deth4uall

    77 posts

    Ok thanks for that tip, I didn’t realize I hadn’t uploaded it with the rest. 😊 I just uploaded a new version for ya. Enjoy! Also if you have any feedback or suggestions please don’t hesitate to do so. I am happy to work with you all to try and figure it out! 😊

  • #22 / Jun 10, 2011 2:23pm

    Ektor

    2 posts

    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!

    You can download my FB-SKD wrapper from here: http://www.edelprino.it/codeigniter-facebook-cache-library/
    (It is for now a beta version)
    😊

  • #23 / Jun 10, 2011 2:33pm

    deth4uall

    77 posts

    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!

    You can download my FB-SKD wrapper from here: http://www.edelprino.it/codeigniter-facebook-cache-library/
    (It is for now a beta version)
    😊

    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?

  • #24 / Jun 10, 2011 2:52pm

    Ektor

    2 posts

    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! 😛

  • #25 / Jun 10, 2011 2:55pm

    deth4uall

    77 posts

    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.

  • #26 / Jul 06, 2011 5:55pm

    deth4uall

    77 posts

    Release v1.0.5

    - 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.

  • #27 / Jul 09, 2011 12:43pm

    waalteer

    1 posts

    Hi deth4uall,

    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.

    Congrats & Thanks!

  • #28 / Jul 09, 2011 4:38pm

    deth4uall

    77 posts

    Thanks waalteer for the comments, if you ever find that you need a certain feature be sure to drop it by me.

  • #29 / Jul 21, 2011 3:39pm

    DougW

    49 posts

    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…

    $friends = $this->fb_ignited->fb_accept_requests($this->fb_me[‘id’],‘friends’);

    I assumed this would create a graph call like https://graph.facebook.com/uid/friends and return an array. But it returns errors…

    A list of example calls would be appreciated.

    Thanks for making our lives a little easier!

  • #30 / Jul 21, 2011 4:01pm

    DougW

    49 posts

    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???

    What am I missing? How can this code even work?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases