Facebook Page Feed Targeting Not Working - facebook

We have been able to create feed posts on a Facebook page using the Graph API. We have multiple posts and each posts is targeted at a different region and different locale.
The problem is that we are able to see the multiple posts when we view the pages as a non-admin user.
The posts would have something like:
Visible to: Location - Living In: Canada: Ontario,
Language: English(US) or English (UK)
News Feed Audience: Location - Living In: Canada: Ontario,
Language: English(US) or English (UK)
We are using v2.8 of the GraphApi.

Related

How to render a non-public Facebook story with user token

I'd like to "render" in Facebook style some stories from my users.
Using EMBEDDED POSTS (https://developers.facebook.com/docs/plugins/embedded-posts) you can use SDK to render a story with the URL
https://www.facebook.com/{fb_user_id}/posts/{fb_post_id}
This works just with just public posts, those user has marked as "visible for everyone", the problem comes with those user marked just for his friends.
But I have the user's token, and I can access the content of this story through Open Graph with:
http://graph.facebook.com/{post_id}?access_token={token}
but this returns an array with data, not the "Facebook style box" as you get when embedding as explained before.
And I want a render of the Facebook story as they have in their page, I can not "make" the HTML since there's a lot of combinations (feed, stories, albums, comments, videos ...) , that's the reason of the embedded story widget.
Is there any way to get a Facebook styled box as they usually render stories, for stories that are not public but you (as developer) has access since you have the user's token ?

Facebook Graph API - Get translated location

Is it possible to get a translated location field of a page via the Facebook API?
For example:
http://graph.facebook.com/fac.ciencias.ul?fields=location
That returns the city in English ("Lisbon").
Even this:
http://graph.facebook.com/fac.ciencias.ul?fields=location&locale=pt_PT
(specifying the locale 'portuguese') has no effect.
What I would like is to get "Lisboa" (In Portuguese - pt-PT) instead of "Lisbon" (English).
this cannot be translated. You should have a look at the Facebook Page of this University and click the Info link. At the info page you will see that someone entered the address in English
Regards
Michael

How to localise Facebook Objects and Actions

Apologies if this has already been asked or if this is a dumb question, but I can't seem to figure out how to localise OG actions and objects and the Facebook documentation has defeated me (again).
Scenario:
I have a single OG action called Like (the same action that FB creates automatically for apps that use the Like button).
I also have two objects: post and comment.
Stories are created by my app along the lines of "{name} likes a post on {app name}". In the activity panel they appear as "{name} likes {title} on {app name}". Note i do not have any OG Stories defined - I'm simply publishing the Like action along with one of the two objects I have created.
What I'm struggling to figure out is, how to localise the "likes a post on" and "likes" part of the stories being published to a user's timeline.
I am already generating the appropriate locale and locale:alternate OG meta tags that the FB scraper uses to build the stories. The two locales I support are en_GB and ar_AR and for the ar_AR locale I also include localised title and description meta tags.
When I publish a story for a test user with the AR locale selected, the story includes the localised title and description text in Arabic however the "likes a post on" and "likes" text is still in English. I've checked the localisation app in Facebook and there are no strings appearing to localise, whilst the localisation section within the app settings only provides areas for the app title and description and locale specific images.
Does anyone out there have any insight in to how I can localise the "likes a post on" and "likes" associated with the publishing of the Like action?
Thanks in advance!

Facebook Search API, keyword search does not display posts made in a page but only in a profile

I am using the facebook search API to find posts that include my keyword. I noticed that the posts returned always belong to facebook profiles but never facebook pages. To back that up, I searched for keywords of low frequency which I spotted in pages but the API did not return them.
Is there any way I can search by keyword and get posts from pages too ?
Taking a look at the documentation: Just search with &type=post. From that documentation:
All public posts: https://graph.facebook.com/search?q=watermelon&type=post

How can I get all the URLs (outside of Facebook) a Facebook user liked via a Like button embedded in an external site?

I tried several options:
https://graph.facebook.com/me/likes ,
https://graph.facebook.com/me/links
and a couple of FQL queries - but none returned Likes a user makes via Like buttons on external sites.
Any ideas?
You just take the Extended Permission of user_likes, you will get what you are looking for....
I think that user_likes only give you the permission to see all real objects that the user likes:
a movie,a musician...
if a page is tagged as article for example:
it won't be shown in the likes request
https://graph.facebook.com/me/likes
cause there is no object in the social graph for it:
"Note that the Open Graph protocol is currently designed to support real-life objects. If your URL is a piece of content — such as a news article, photo, video, or similar — you should set og:type to article (see below). Pages of type article do not have publishing rights, and will not show up on user's profiles because they are not real world objects."
(http://developers.facebook.com/docs/opengraph/)
I am also looking for the same api request, I'll let you know if I'll find it...
Editing:
Ok I asked this question on Facebook:
http://forum.developers.facebook.net/viewtopic.php?id=94745
and there is no way of doing that.