Facebook Dynamic Audiences | Pixel content_ids length - facebook

Did research on this and spent considerable amount of hours for this but there was no clear conclusion on this.It would be great if someone can guide me on.
Under facebook dynamic audiences, content_ids must be submitted for pixel events. In that case, it says the recommendation for product item count is 5-10.
What if it is required to assign the pixel event for like 100 products items. According to the above statement,
will it be inefficient to submit such amount of items ?
What are the drawbacks ?
Thank you

Related

Adsense- What is Pageviews?

If I have 50 pages in my site and 5000 users came and visited all the pages..Is that considered 250,000 pageviews?
What is a pageview to be exact?..And do I need to put an ad on every page?
Thanks!
Check your analytics report which will show exact page views in a day. If all visitors read all pages then definitely it will be 50x5000; but I would recommend to add Ad units on those pages which has less bounce rate and higher visit time. Also, keep in mind content length. If content length is more than 600 words then you can use all three ad units otherwise use less number of units.
Reference: Best placements for Google AdSense Link Ad units

Facebook Pixel Stats GET / Reading

I have a Facebook Pixel on my website that is tracking events. I saw on the Ads Manager dashboard, that the pixel logs my events in a categorized way, i.e.:
PageView, ViewContent, InitiateCheckout, etc.
Although when logging stats, I include some extra parameters like the product_id maybe or other things, that way when the PageView is being logged, at least I will know which product_id it refers to.
The problem is that the Facebook Ads Dashboard doesn't show any of the extra parameters, it only displays the Count field.
After doing some research, I found this link on Facebook Pixel Stats, where they claim:
Use the Facebook Pixel Stats edge to get pixel statistics.
I tried using the Graph API Explorer, and even the iOS FB SDK for it (API Here) they both return an empty data array:
{
"data": [
]
}
I tried multiple parameter combinations, fields, and everything else to no avail.
If anyone knows whether I'm looking at the wrong place, or what not, all I'm interested in is reading those "extra" parameters that I'm appending to every FB Pixel event I log. Thank you!
You need specifing the parameters for it.
Example:
{fb_pixel_id}/stats?aggregation=url
The answer is displayed for a specific period of time in the past - I would say 24 hours.
You can use paging at the bottom of the json response for going back in time: use the link provided in the content of the field 'previous', and you can step back day by day.

How to search Facebook's "invitable_friends" results

I have a Facebook app, and I'd like to allow my users to invite their Facebook friends to my app. The proper endpoint is /me/invitable_friends which is working well. But towards the bottom of that doc page, they recommend implementing a "search box" to filter the results, yet they don't offer any example of how to do this. I've searched around and haven't found anything.
It doesn't appear as though you can pass additional params for filtering the results. Obviously I can filter the results after the fact, but that's not scalable since the API only returns ~20 users at a time. That limit is modifiable (I believe), though it's of course not wise to bump it too high.
So how can I build a search box interface if I can't pass the search text to the endpoint? I must be missing something.
Thanks in advance.
PS - I'm using the JS SDK.
You should probably file a bug.
Based on the documentation the default size is 1000 records (average Facebook friend list size is 300-400)
If you don't see the next parameter at the end of the result under paging then there are no more results.

Get old Facebook posts from public FB page

For a university research project I need to view some old posts on public Facebook pages from a specific date range (January 22-31 2014.) I was planning just to copy and paste each post but I have run into a problem with some of the pages that generate a very high volume of posts. Facebook will not display past a certain date. Even with scrolling down, at a certain point the posts stop displaying (this is true by month, so it jumps from January 25 directly to December 31 for example).
Here are the pages I am interested in:
https://www.facebook.com/Syrian.Revolution
https://www.facebook.com/Syrian.Truth
I have read about Facebook's Graph API but have had some trouble using it (I don't have a developer's background.) Also the posts are mostly in Arabic so that may be a problem.
I just need the pages' posts, not the comments sections.
Thanks anyone so much for your help, it is very appreciated.
Really depends on what language/environment you're using. As a simplest case, you can just use Graph API Explorer (https://developers.facebook.com/tools/explorer) and make a call:
{{page_id}}/posts
There are a lot of ways you can improve this call for your benefit. For example, you can use a limit parameter to increase the default number of results it retruns.
{{page_id}}/posts?limit=200
By default, this returns a lot of fields, you can limit the fields.
{{page_id}}/posts?limit=200&fields=id,message,created_time
You can visit https://developers.facebook.com/docs/graph-api/reference/page/feed/ to find out which fields are supported.
In order to get results during a certain time-range, you can use the created_time field to determine if a post belongs to a certain time interval.

How to reset Facebook like count to 0

We have a campaign that we run yearly. We built new pages using last year's page as a template. The pages are at the same URL's as last year but with different content and different metadata.
We thought the client would be happy that they had great social numbers but they actually want the numbers to start from 0. I've found plenty of information about clearing the cache with Facebook and we've done that already in multiple fashion, and plenty of posts asking why their like count is at zero, but nothing about how we can reset to 0.
Any ideas on how we can achieve this?
Change the URLs of the content and the new URLs will have 0 likes