Facebook pixel not finding the products in the catalog - facebook

I am working with Facebook advertising campaigns and we recently move to a newer version of our Prestashop site and Facebook pixel helper shown that the product ID is not found in th catalog. catalog
Data feed file for the catalog can be accessed by link.
The product can be found in the Products section of the Facebook catalog online by that ID.
The pixel is associated as an event source for the catalog.
The Facebook help says that the content_id in the pixel should match the id field in the catalog feed and it does, then the catalog and the pixel should be connected as catalog-event source and they are. We contacted Facebook support and they gave us an idea regarding the ID field in the product catalog online, but that is not editable and the id field in the XML is automatically mapped to content_id in the catalog.
We think this is a permission issue because the pixel cannot search for the product in the catalog. What do you think?
Any help or lead is highly appreciable.

Related

Can I get all posts from instagram based on a specific tag with the new Facebook Graph API?

Right now I am using Instagram API Platform with the "Public Content
- capabilities to read public media on a user's behalf" rights for my app. As it is stated on the website, it will be deprecated on December 11, 2018 and they are pointing to the new Instagram Graph API.
I went through the documentation but could not find what I need. I would like to know if it is possible with the new API to:
Get all posts info (user that posted, the number of followers, caption, likes count and the media itself). With the Mentions API from Instagram Graph API you can get all posts where your Business account is tagged #account, but they require media_id which I don't have, how do I get it?
Get all posts with a specific hashtag, of a specific user (non-business account) within a timeframe. From the comments it is clear that this is not possible for now. Still hope to get an answer to my first question.
I would like to know if the above mentioned are possible with the new API and it would be nice if you can point me to the right API. Thank you in advance
but they require media_id which I don't have, how do I get it?
You can get the list of media id's on which an account has been tagged using the tags endpoint.
v4.0/<account id>?fields=tags
Once you have the list of media items in which the account has been tagged, you can cycle through them and return the following fields each media post.
Returnable Fields: caption, comments, comments_count, like_count, media_type, media_url, owner — The ID of the user who owns the object., timestamp, username
With the owner ID of the post you might be able to look up more of the fields you are looking for, but you will likely run into some permission issues.

Can I get user's public profile data on facebook using user's first name, last name and city?

I am working on personality analysis of group of students at an university. I have their first name, last name, city and contact information etc.
Is there any way using facebook API I can retrieve their public profile information on facebook?
I have looked into facebook graph API it requires user_id to retrieve public profile data. How can I get the user_id from available information (i.e. First Name, Last Name and City)?
Following will be few helpful features in personality analysis modeling-
HaveProfilePicture - YES/NO
FrequencyofPosts - Number
FriendsCount - Number
Likes, Shares etc.
Any suggestions or pointers are highly appreciated.
EDIT-1:
I would like add that it not an app or a system where we can get permission from user to access their profile information. It's more of data analysis work where we have data and we want include social media features.
As per current facebook API on 29th July 2016. There is no such way (using API) that you can access the user profile information without permission from user.

Is there any way to look for Facebook/Twitter users by an image?

I'm trying to identify people profile through pictures.
I'm using tineye.com as tool to check if an image appears in any website, from the results, I scrap the url related with Facebook and Twitter and, if this exists, I go over the DOM checking if the image url is inside Profile Picture or in a comment.
That's very useful and very interesting to get a profile array but it is very limited because neither tineye nor Google Images Search have got a lot of Twitter accounts indexed. Moreover, Facebook profiles are not included in the results so I wonder if exists any place or any way to get Facebook/Twitter/Google profiles if I already have got a name and a picture.

Graph API and location privacy

I'm aware that the Post Graph API object has a privacy attribute that can be specified when an app is allowing the user to create a post.
From that documentation, we can see that:
The description field may contain a comma-separated lists of valid country, city and language if a Page's post targeting by location/language is specified.
Fantastic. So where do we retrieve the current, valid country, cities and languages that are allowed to be used in that field? Guess work? An FQL table that isn't in the docs?
Anyone able to help?
I'm going to answer my own question:
A little un-intuitively, perhaps, you can grab this information from the Facebook ads api here

How to update facebook profile info from code?

Does someone know the API for updating user profile information on facebook?
I want for instance to change my location from my client application. Is that possible?
I am using Facebook C# SDK, but an example in any other language would be great.
I do not believe they support updating a user's profile information from the exposed Facebook API. The Graph API documentation currently states that only the following elements are editable (editable as in, you can create them):
Wall Posts (feed)
Object Comments
Likes
Notes
links
events
event status
albums
album photos
checkins
As you can see, the User object is not one of objects Facebook exposes for edit purposes. It does support the ability to publish location checkins, however. While this does not meet your goal of modifying the location attribute of a user's profile, it does provide some basic abilities.
POST https://graph.facebook.com/<profile_id>/checkins?
access_token=<access_token>
&coordinates={...}
&message=my+message
&place=<page_id>
&tags=<tag1>,<tag2>,...
See the checkin documentation for an example using curl. This example should be executable by any platform specific Facebook API (Java, C#, etc..).
You can't update informations from the API. All you can do is reading / searching / posting / deleting / analysing data.
You can find everything there.
Cheers