I'm developing a cross-platform App with Ionic 2 (angular2 & typescript).
I'm using the Ionic Native plugin to Login with facebook, but this plugin does not provide any way to Like Pages from my App.
I tried with the Page Plugin which is able to like pages but I don't get any response/callback from this action and I need to know when a user liked a page. This should work with any Facebook Page.
Any way to make this work? Preferably using the graph API.
Related
I am working on an application in Flutter for a client. They are wanting to promote their Facebook page for their business, the page is open to the public and doesn't require login. On their site, they're already using the Facebook Social Plugin to promote their Facebook feed. I am wanting to use the Social Plugin or something similar to it for consistency.
I have tried grabbing the iFrame from Facebook's Social Plugin creation page and hosting it in a WebView via Flutter. The problem is this leads to a bunch of different errors and a repeated Attempt to remove non-JNI local reference, dumping thread console log. I already know that the WebView wasn't built to handle an iFrame like this, but I don't know where else to turn in-order to view the Facebook Page. I have also tried to just display the URL link in the WebView without any of the HTML tags and had no luck. Any suggestions?
You can simply use webview_flutter plugin to display the web page on a Flutter app. Note that webview_flutter plugin is yet to have support for web. If you're also planning to deploy your app for web, what I did was I rendered the page using HtmlElementView, following this post.
I have a mobile website that I would like to allow users to share the url via their native Facebook and Twitter apps (it is tedious to have to login to m.facebook.com).
I can have a link to fb://post to open the FB app, but I can't figure out how to actually pass params for updating a status. I want the functionality of using the sharer.php link on the desktop, but for the native mobile app.
Is this possible?
Is there any sample code for implementing the functionality of liking a page in facebook from windows phone app?
I have tried publishing the posts to facebook in my app.But want to know if I have to handle this scenario differently .
I'm new using facebook for developers, I want to use Facebook Login for my app developed in phonegap, where I want that when users want to login, it opens facebook standard page for them to continue with the process and return data to my app. But the first thing I found was that there were many solutions:
The Login Flow for iOS
The Login Flow for Android
The Login Flow for Web (without JavaScript SDK)
But none for what I want. I also found facebook github's solutions but, it seems to be only for Android or iOs, but not both of them:
https://github.com/phonegap/phonegap-facebook-plugin
So I have some doubts:
¿What solution should I use for phonegap integration?
I know that I need an app-id that I can find it at facebook's developers page https://developers.facebook.com/docs/facebook-login/login-flow-for-web-no-jssdk/ , but if that key is locally saved, at the devices, would it be safe?
Thanks
I am creating a native app for android using sencha touch 2.2.1
I want to integrate the feature of social media sharing (Facebook and Twitter).
The idea is ,there will be list of images and few buttons under each image. When the user clicks on the share button, Facebook and Twitter icons will popup and if user click on facebook, than that particular image will get posted on users wall(if he/she is already logged in, otherwise will open facebook login window). Same will happen for Twitter.
I am able to implement this thing with sencha webapp. Becuase on the webapp, facebook is getting its fallback url and it posted the image successfully. But when I created an apk of my application then the sharing code is not working.
It is showing error - "URL not allowed.......". I think it is an issue of fallback url.
I used facebook sdk also but it did not work for me. I also tried with combination of sencha Touch and Phonegap but still the same error as mentioned above.
Please share if anybody implemented similar to this type of project.