I want to setup Facebook Advanced Matching in Flutter app so - I want to know if there a way to log user's basic info (name, email, phone, DOB, gender etc) with this package?
Package: https://pub.dev/packages/facebook_app_events (Facebook App Events)
In lib/facebook_app_events.dart (link) I see method to clearUserData method to clear user's data but don't see method to set these values.
Reference for setting up advanced matching on native app: https://developers.facebook.com/docs/app-events/advanced-matching#use-the-facebook-sdk
Edit 1: To be clear I already have user's info and want to log it with Facebook.
Thank you for spotting the mistake. You brought to my attention that the setUserData was accidentally removed in version 0.14.1 of the Flutter plugin as the deprecation notes were misread.
It is added back in upcoming version of the plugin: https://github.com/oddbit/flutter_facebook_app_events/pull/204
Related
I have the same problem like asked here: Facebook messenger checkbox plugin is hidden
I tried the implementation of the Facebook Checkbox Plugin according to Facebooks documentation but it won't show on my VM in my Company.
The Facebook SDK Implementation works fine, I tried the "Share" and "Like"-Button, which show up correct.
I have a Facbook Page which has public access and a Messenger APP in DEV-mode. The "Send-API" from Facebook works correct too: I am able to send message to myself as administrator from my Webpage on my development VM.
Following Steps are done: use a random user_ref on every request, set my page on the whitelist, use "https", visit my page FB-loggedIN and FB-loggedOut
But the result ends in Markup and Log-Infos like this screen:
See FF DeveloperTools Markup Screenshot for current state
According to this I visited a page given as origin where the Plugin should work (see first link in my question) - but there the plugins' HTML is the same like mine.
So is there a general problem on Facebooks' site or is there quite more necessary, to get this plugin running? Could it be a problem with self-signed certificate on my VM?
At the moment I don't want to notify or login any user. All I want is that the checkbox is shown.
Pherhaps anyone has an idea or the same experiences :)
Additional Info: the console shows following message
fb:messenger_checkbox failed to resize in 45s
after some fiddling we found out that a registered webhook is required (even if you dont consume the events) to make the messenger checkbox plugin render properly.
I have come across an issue while integrating Facebook login with AEM.
I took reference from below link
https://docs.adobe.com/docs/en/cq/5-6-1/administering/social_communities/social_connect.html
Although everything is working fine but on welcome page it is not displaying the logged in user name the way it is working for Geometrixx Outdoors website.
Instead it is displaiying the ID only.
Any suggestions who have already worked on this integration? :)
When your user logs in from facebook,it will exist as a user in /home/users/facebook under the group you have specified.If it is not there,you need to do it.Dont forget to check the about me part shown in figure ,so that user can save the info with the help of this.User in your aem will fetch only those info which you check here,
And in the welcome page,you need to fetch the user-info from that group and show it on your welcome page,it will not be on the fly.You need to do it like geomatrix.
I have done work on this integration,If you need further help,feel free to ask me.
I have an issue with ALL facebook comment plugins out there... We use Joomla 3.
While having such a plugin enabled, facebook fetch the article BEFORE publishing date (which always is set in the future on the site), with the result of a 404 error.
Upon publishing facebook doesn't refetch the article when our reader tries to share it on facebook, resulting in 404 error message on facebook, even though the article is live and published.
If I go to the facebook debugger, and refetch, it works alright - but we can't do that with all articles every day.
Is there a way to restrict a plugin to be executed either if the article isn't published, or to a certain user group?
My suspicion is that this occurs if an editor checks his article before it is published, so if I can restrict the plugin for special user groups it could maybe work..?
Appreciate any ideas...
With kind regards,
- Johan.
Open the main PHP file in the plugin, and then, in the beginning of the function onContentBeforeDisplay add the following code:
if ($article->state != 1)
return '';
Do the same thing for the function onContentAfterDisplay.
I recently hit a problem while trying to integrate FaceBook in an iOS app.
Fortunately I found the answer here:
Facebook SDK: app not registered as a URL Scheme
This is where I have a question:
In the post mentioned above the answer gives the following as the second step:
Create a key called FacebookDisplayName with a string value, and add the Display Name you configured in the App Dashboard.
How do I write this Display Name in case it is changing according to the user Language Settings?
I tried ${DisplayName} or ${CFBundleDisplayName} but I have no confidence I am using the right syntax and name.
In the InfoPlist.strings you can add
FacebookDisplayName = "AppName";
for all the languages you have implemented. This way it will be consistent to the facebook configured details regardless of what your app is really called on the device.
After following as per Facebook-sdk instructions for android app i get the dialog box saying install/cancel instead of allow/don't allow . I tried changing App id and used other user's credentials for logging too. But still i get an error:
Update:i tried changing an app setting develope.facebook.com->Application->Advanced->disabled enhanced auth dialog. still no resolution.Any help?
The text changes for various reasons; whether it's the first time the user is using that app or not for example - this is expected, there's about 5 or 6 possible button text combinations - i think install/cancel is the one seen for new installations