How to get all messages from a thread from Facebook API? - facebook-graph-api

I've already searched extensively online for this and can't seem to find a solution. Using the Graph API explorer, when I input /thread-id/comments, it gives me around 15-ish messages by default. I've tried doing stuff like /thread-id/comments?=limit and comments?until=date but nothing seems to work.
Does anybody know how to get rid of this invisible limit?

You can only try to increase the limit, but there is a max value afaik and the proper way to get more items is to implement paging: https://developers.facebook.com/docs/graph-api/using-graph-api/v2.2#paging

Related

How do I create an email thread when using AWS-SES?

I tried to first go through documentation and aws forums but not able to find any solution. This is one big discussion regarding threading in outlook but gives no solution. i am hoping it to be a fairly simple thing but since I am new to aws-ses, its getting hard to find a good solution for this.
Just need to send 2 extra headers 'In-Reply-To' and 'References' and the value of these 2 headers would be <message-id of last email to which you want to create a thread +"#email.amazonses.com>". Dont forget '<' & '>'. Eg. "7bvsjdfhksbdkf896234bhksbdfbbhiosdf#email.amazonses.com

Localize Ember-power-select "No results found" text

I am having a hard time finding out how to localize this string that appears to be coming from ember-power-select: "No results found"
This string is nowhere to be found in our app's codebase.
Searching around google did not yield any results, so, while the solution may be in the docs, it'd be nice to have an easy to find stack overflow page linking to it.
EDIT: In the docs, I see I should use the noMatchesMessage: http://ember-power-select.com/docs/api-reference (I'll also be setting loadingMessage and searchMessage)
HOWEVER
I don't know how to set these options globally.
In the docs, use the noMatchesMessage: http://ember-power-select.com/docs/api-reference

How do I use the fbtrace_id to find more information?

The Facebook Graph API often throws errors and mentions you can use the fbtrace_id to find out more information about the error.
Every time I try to use the fbtrace_id, I get another error with a new fbtrace_id. It goes in a circle.
Then I click that and I get this:
And so on.
fbtrace_id is something you will include when reporting a bug to the Facebook support team.
fbtrace_id: Internal support identifier. When reporting a bug related to a Graph API call, include the fbtrace_id to help us find log data for debugging.
Read more here: https://developers.facebook.com/docs/graph-api/using-graph-api/

How to access facebook insight datas for consecutive months?

I'm new to Facebook app development I hope I can get an answer here.
Is that possible to retrieve Facebook insight data for consecutive months?
I tried end_time=2010-01-01 to since=2010-01-31 and period=month but I got
The specified date range cannot exceed 3024000 seconds!!
How will I get like 2010-02-01 to 2010-02-28 and 2010-03-01 to 2010-03-31?
I have tried and used lots of examples but I couldn't succeed: How can I solve this problem?
The thing that has worked for me is very similar to what you are doing, with the difference being that I use the UNIX timestamp for SINCE and UNTIL.
Example:
https://graph.facebook.com/212686148747689/insights/
page_impressions_by_city_unique/week/?
access_token=QWERTYUI&since=1315699200&until=1320796800
(That's all supposed to be on one line, but it's easier to read it this way, at least for me.)
With this approach, you want to be careful and make sure that the difference between SINCE and UNTIL is not bigger that 90 days. Otherwise, you'll get an error, like so:
(#604) The specified date range cannot exceed 7776000 seconds
Finally, if you don't have a way of generating the UNIX timestamp automatically, go to a web site like:
http://www.epochconverter.com/
If anyone else has some better insights, please share. I hope this helps.

Analyze Network events with xperf

I have written a small tcp-client/server-thing for testing the xperf-networkttrace capabilities.
But as it seems I did do something wrong with xperf.
When I use the Xperf kernel group NETWORK or DIAG+NETWORKTRACE it just shows me the "casual" stuff and nothin about tcp/udp-reads and writes...
Anyone got an clue of how to get these information from xperf?
(did not find anything really helpful via google)
I found out, that the send and receive-actions are logged under the "Generic Events" section, as marks.
You can also find them "easily" if You post-process the etl-log into a human readable file and search for TCPRead/Write UDPRead/Write TCPDisconnect/Connect/Accept etc...