Skip to content

Make API similar to FB api, so it can be used as a drop in replacement.#4

Merged
ccoenraets merged 2 commits intoccoenraets:masterfrom
000panther:master
Jul 14, 2014
Merged

Make API similar to FB api, so it can be used as a drop in replacement.#4
ccoenraets merged 2 commits intoccoenraets:masterfrom
000panther:master

Conversation

@000panther
Copy link
Copy Markdown
Contributor

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.

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
@jtomaszewski
Copy link
Copy Markdown

+1 - working great ;)

@ccoenraets ccoenraets self-assigned this Apr 28, 2014
@ccoenraets
Copy link
Copy Markdown
Owner

Thanks. Looks like a good idea. Yes please: can you change the Readme accordingly and I'll merge.

@jtomaszewski
Copy link
Copy Markdown

I updated the readme in here.

@ccoenraets ccoenraets merged commit ca82042 into ccoenraets:master Jul 14, 2014
ccoenraets added a commit that referenced this pull request Jul 15, 2014
ccoenraets added a commit that referenced this pull request Jul 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants