Make API similar to FB api, so it can be used as a drop in replacement.#4
Merged
ccoenraets merged 2 commits intoccoenraets:masterfrom Jul 14, 2014
000panther:master
Merged
Make API similar to FB api, so it can be used as a drop in replacement.#4ccoenraets merged 2 commits intoccoenraets:masterfrom 000panther:master
ccoenraets merged 2 commits intoccoenraets:masterfrom
000panther:master
Conversation
Made the API similar to the FB api, so this can be used as a drop in replacement, without having to change all the calls if you are using the FB api elsewhere. Also added a getLoginStatus function
|
+1 - working great ;) |
Owner
|
Thanks. Looks like a good idea. Yes please: can you change the Readme accordingly and I'll merge. |
|
I updated the readme in here. |
ccoenraets
added a commit
that referenced
this pull request
Jul 15, 2014
ccoenraets
added a commit
that referenced
this pull request
Jul 15, 2014
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi! I found this plugin very useful, especially after struggling a day with the phongegap-facebook-plugin (seems like they are in a big migration currently). The only thing that was missing for me, or a problem for me, is that the API is a little bit differnt from the Facebook API. Since I would like to use this as a drop in replacement for mobile application login, I had to change the API a little bit, else I would have to duplicate all method calls. Now I just need to replace the FB object with the OpenFB object in mobile.
I thought that maybe you might find this code useful, I updated the codebase and the example index.html. I also could update the README.md if you find the changes appealing.