Cannot share a dish on Facebook in my IOS app - facebook-graph-api

I'm getting the error attached. It says, "We couldn't log you in: You can't log in to this app because you do not meet this app's requirements for country, age or other criteria."
Where can I find those requirements. Country is Kuwait by the way

if your app reference alcohol and you ticked that from Facebook developer console advanced settings it will make this error since many middle east countries restrict alcohol
check image below
Facebook Advanced Settings

Related

How do I add custom tables to App for Outlook?

I already tried asking this in the Microsoft Dynamics forum.
I have deployed the App for Outlook. I have added three custom tables (entities). These now show up in Quick Create and the Regarding lookup.
I have also removed the Contact, Lead, and Account tables. But when I click the Add button, the three options are "Add as Contact" and so on.
When I click on an email that is already saved in Dynamics 365 Sales Enterprise, the Recipient Picker says "Unknown Recipient" (see image below). How can I get the Recipient picker to include the custom tables that I've added?
I've tried refreshing the app, redeploying, and running the App for Outlook checker.
App for Outlook is using Exchange server-side synchronization.
Thanks,
Shane.
As far as I know and I read, you cannot set custom entity for Recepient. It can only be Account, contact or lead. But you can set Regarding for custom entity and track email communication.

All types of Ads in Facebook Ad Library API?

I try to use Facebook Ad Library API to search and find ads from particular page ids, but it is restricted to political ads only?! Yes, this is also mentioned in the docs, but I have found several pages saying that the Facebook Ad Library API is now (03/2019) open to all kinds of ads not just political ones. Any ideas?
Thanks for your help!
https://www.facebook.com/business/help/2405092116183307?id=288762101909005
All active ads a Page is running across Facebook Products are visible in the Ad Library. You can search for an advertiser to view the active ads running from the advertiser's Page.
For ads about social issues, elections or politics, you can search by Page name or keyword, and then filter by: […]
Ads that are not about social issues, elections or politics will only be discoverable through visiting a Page in the Ad Library and will not surface in keyword searches.
So, you can access all ads for a particular page, if you search for that particular advertiser, and then go check what ads they are running.
If you want to search adds by keyword, then the results will be limited to those from the social issues, elections or politics categories.

How to use complex search phrase in Facebook Graph API?

The Facebook site allows to search for phrases like:
Pages liked by people who are older than 50 and live in Munich,
Germany.
How can I do that with the Graph API?
If this is not possible, do you know a workaround to do such searches automatically?
You can not do this at all.
The reason: Privacy.
You can not search all users of Facebook for demographic data this detailed.
In order to get what a user like you'll need the user to authorize your app to use "user_likes", which requires review. Source: Scroll down to "user_likes" section
In order to get anything other then under 18, or under/over 21 you'll need "user_birthday", which requires review. Source: Scroll down to "Guidelines" on load then "ctrl+F" for "user_birthday"
You can use "age_range" from public profile, doesn't require review, but this will only be for users that have authorized your app. Source: Age Range.
In order to get a user location you'll need the user to authorize your app to use "user_location", which requires review. Source: ctrl+F type "user_loction"
You can use "locale" from public profile, doesn't require review, but this will only be for users that have authorized your app, and it will only show what language they use FB in. Source: Scroll down to "gender & locale" under "Public Profile"
All of what you want to do requires a Facebook review I doubt it will be approved. Next even if it did only those users that have installed/authorized your app will be available to your app. You absolutely can not open search user data like that with out the users permission.

Facebook API get friend albums not working for some friends

I'm using the following FQL query
'select src,src_big from photo where aid in(select aid from album where owner=' + contactId + ' and type="profile")'
But it works for about 50% of my friends, and the rest - it doesn't.
Its not a permissions problem because the behavior persists per friend, if it works for a friend - it always works for him.
Is this a Facebook thing, where a user can choose to prevent apps from getting his photos?
(like what happens when some friends are missing from /me/friends )
It will be odd, because it doesn't work for too many friends..
I tried the same with the graph API, and the same happens (some users ok, rest are not)
What is this?
Thanks in advance
Take a look at the Profile settings of your account. Do you see the Apps link on the left?
There's on portion there that says "Apps others use"
People on Facebook who can see your info can bring it with them when they use apps. This makes their experience better and more social. Use the settings below to control the categories of information that people can bring with them when they use apps, games and websites.
Bio
My videos
Birthday
My links
Family and relationships
My notes
Interested in
Hometown
Religious and political views
Current city
My website
Education and work
If I'm online
Activities, interests, things I like
My status updates
My app activity
My photos
If you don't want apps and websites to access other categories of information (like your friend list, gender or info you've made public), you can turn off all Platform apps. But remember, you will not be able to use any games or apps yourself.
If your friends have that checked. I believe apps won't be able to get your friends' images through your access_tokens even if you have allowed the "friends_photos" permission enabled for the app that you're using.
I did an experiment and apparently I found that I must get my friend to also access the app to allow the app to access their photos under the "user_photos" permission. only then can I get their photos using my access token with the "friends_photos" permission.
Not sure if this makes sense to you.

How do I setup Sitecore Executive Dashboard?

When I open the Executive Dashboard I get the error "No Traffic Overview data found". How can I get the traffic overview data wired up to the Executive Dashboard?
For background info, I am running Sitecore 6.5.0 (rev 120706) and I have Sitecore DMS installed and configured. I am able to access and view reports in Engagement Analytics, I am able to use the Marketing Center to create and track profile keys and personalize content. Also I am referencing the Engagement Analytics Configuration Reference Guide, and the Executive Dashboard Cookbook to no avail. Anyone with experience with the Executive Dashboard know if I missed something here?
Executive dashboard only shows data, if the data on the report has 50 visitors.
You can change this value in
sitecore/shell/Applications/Reports/Dashboard/Configuration.xml
Change the value of "MinimumVisitsFilter" to 1, to view all the tracked data for the report