Debug/Testing Facebook App Events with Segment on Expo - facebook

Hello community I've found finally a way to use Facebook App Events with React Native on Expo. In Expo I can use Segment and there it wraps iOS and Android sources.
On the React Native App (Expo) I tracked an event with
Segment.track("customEvent");
The Sources and Destinations are all setting up in Segment Dashboard. And after tracking that event I've got an 400 Bad Request Error in the Dashboard like that:
This object does not exist or does not support this action
There is also an Event Tester in the Segment Dashboard. After sending a tracking event I've got following message:
Validation Error message attribute "context.device.advertisingId" is
required
My question now is where should I set in? Is there an error with the IDFA? Is the App ID set up correctly? Or where is here the problem?

Related

Flutter Google Sign In - This App isn't verified error

I'm getting a 'This app isn't verified' error when I use the Flutter google_sign_in plug in. I want to get authorisation to Google Drive so added it to the google sign-in scope:
scopes: ['email', 'https://www.googleapis.com/auth/drive'],
And it is the request for the drive scope that is causing the error screen to come up ( I tested it with just email and works fine).
If I look at the docs it seems that Google are saying I have to verify the app, however this is a test app to see if I can get the functionality that a client has requested working with Google Drive and won't ever be promoted.
Does anyone know how I can remove this error message for test purposes only?
Many thanks
Here's the actual screen with the error:
The above warning shows when the app isn't verified. Google consents user that the app is not verifed yet and you are sharing sensitive data to it.
We can proceed and complete our flow by clicking the Advanced at bottom left. Once app is verfied this warning will be removed automatically.
Anyone can follow instruction listed on here
https://support.google.com/cloud/answer/7454865?hl=en

Run the code simultaneously in dialogflow and AoG but unable to do so due to userStorage

I have implemented userStorage as per this thread and now my code is working perfectly on AoG simulator but when running on dialogflow simulator, I am encountering the error as
Cannot read property 'userStorage' of undefined
Now how to make the code work on both the simulators as I want the web demo for the chatbot I am building and DialogFlow provides me the ability but the code is modified only for AoG Simulator. How to resolve this issue?
The gist of the code I want to change is here.
Thanks for the help.
The userStorage object is available for Actions on Google only.
If you want to do the same thing for the web-based client, you'll need to maintain this information yourself. Possibly storing it in a web cookie or browser LocalStorage instead and then sending it along with the request to Dialogflow, probably in a context.
If you need the user to be able to go between the two and have the same information in both, then you'll need to use something like Google Sign In and store the information in a data store (like Firebase) against the user id.

FB events tracking on Universal Windows Platform

I want to use Facebook Analytics in a Windows Store application (UWP) with winsdkfb.
The login and graph API work perfectly, but installations and other posts to /application-id/activities always end with "BadReqeuest".
I checked samples from winsdkfb sources (LoginCpp-UWP). They seem to be broken too.
UPD:
The question is what arguments should be passed in url to track activity events for Universal Windows Platform.
At this time I've found out that winsdkfb doesn't append 'attribution' if advertising identifier is not available. Now I see events from unknown platform in dashboard. Does anybody knows how to specify device operation system?

Your Open Graph story did not publish on any of the configured platforms

I have a web app that I'm trying to get in the Facebook App Center. After submitting it, I'm getting the following warning:
Your Open Graph story did not publish on any of the configured platforms. Update with more detailed usage instructions that indicate how to trigger and publish the action for all configured platforms.
The only action I implement is the like create action.
I've Googled this message, and not found any helpful answers, and this message has no specific information on what the problem is or how to resolve it. Any insights would be most appreciated.
(screen shot)

Unity Facebook SDK official example - FB.Init not working

I cannot get both my own game using the SDK and the example Unity project provided by Facebook to work.
I have the Unity3D file uploaded and linked in the app settings. Upon clicking the "FB.Init" button, the console states: "Facebook DLL: Not loaded". Therefore, I am unable to login.
Pressing the button again provides this message: "FB.Init() has already been called. You only need to call this once and only once." If I force the login, I get this error: "NullReferenceException: Facebook object is not yet loaded. Did you call FB.Init()?"
This is also the same when testing on an iOS device.
Can anyone help?
I managed to solve my problem.
The host service that is storing my Unity build was being blocked by my browser script blocker. Though the game still ran fine, I was unable to use any of the Facebook SDK functionality with it blocked.
School boy error, but solved nonetheless.