Comment id format has changed? - youtube-api

Did the format of the UID for comments on video posts has changed? We are noticing examples of comments that previously had one id via api, and are now coming back with a different id. This is causing us to save duplicate data, because we can't programmatically determine that they are the same comment.
The issue appeared start approximately Dec 5, 2017.
Example - these two comments appear to be the same comment, just sent twice with different ids. The "external id" below is the youtube UID:
title Comment from nah28
link https://www.youtube.com/watch?v=n1pRzwFf1lo&lc=z233st5hoofjvbl5f04t1aokglljav4mscz3jhkng02qrk0h00410
publishedDate 2017-11-16 20:14:31
dateFound 2017-11-16 20:16:38
externalId z233st5hoofjvbl5f04t1aokglljav4mscz3jhkng02qrk0h00410
title Comment from nah28
link https://www.youtube.com/watch?v=n1pRzwFf1lo&lc=UgyMXm2SWEfG9sJsAK14AaABAg
publishedDate 2017-11-16 20:14:31
dateFound 2017-12-06 12:17:58
externalId UgyMXm2SWEfG9sJsAK14AaABAg

Confirm!
I didn't find any changelists related, but we're using comment IDs to uniquely identify comments, and now we're having duplicates of comments of tracked videos.
I wonder if there's a way to obtain somehow old comment id

Related

Updating autorout URL from C# code in ORCHAD CMS

I have built a simple website and have the requirement to display all post from a blog for a year.
For example www.mysite.com/blogs/2015 should display all posts of 2015.
However, this year is not the real creation date of the post but it is given as input while creating the post (I have added new field to the editor).
I should also have a way to access a post with a unique URL like www.mysite.com/blogs/2015/2, which should display the second post of 2015.
The post number is unique for the year. So I cannot use the content id.
I was able to make this work with my own controller, but an issue remains:
When posts are listed it will attach the URL created by the AutoroutePart, which will be like www.mysite.com/blogs/first-post.
I attempted to change this URL while creating the post by updating the Path property of the AutoroutePart but had no luck.
Any suggestions or advise are appreciated.
You can define you own route for any content item which has the AutoroutePart.
Example in you situation you need to edit the content definition of the blog posts. So under the Content Definition menu you select Blog Post, then edit, then you click on the expando arrow next to the Autoroute label and you'll see the Patterns field where you can define your own pattern.

JIRA comment tag name

While commenting on JIRA tickets, #username can be used to tag a team member. The thing that bugs me is that when I try to tag any team member, there is a special encoded text appear (something like this [~gbuc13]) for every person you tag in.
Now its very difficult to find which member you tagged in your comment by seeing this code. Is there any way that this strange encoded name could be replaced with a proper, meaningful names so that when a user is being tagged, [mike] is appeared instead of [~gbuc13]? I know this change will have to be adopted by every team member to define their aliases, but I am wondering where this (alias?) could be set.
The change you describe is is the difference between the saved view and the edited view and can't be changed:
at edit time you see the alias
once saved you see the full user name (which links to the Jira profile page showing all their activity)

SurveyMonkey: How do you determine a survey's ID?

For a given survey, how do you determine its survey_id for use with the SurveyMonkey API?
A list of all IDs is returned by the API method get_survey_list, and you could subsequently call get_survey_details on each survey to determine which one is the intended one, but that seems needlessly complicated. There has to be a way to get a survey's ID from the My Surveys page, right?
Edit:
Whoops, get_survey_details isn't actually necessary, since get_survey_list can take a fields parameter that includes the survey's title.
If you want to get the survey ID via the web page you can:
Right click on the survey in the "ALL SURVEYS" surveys view, and press "Inspect Element" or "Inspect" depending on your browser.
In the bottom of the browser, you will see a highlighted block that starts with:
<a href="/summary/...
Scroll up a few lines until you see a line that starts with:
<tr class="survey-row" id=`
The number that follows id= is the survey id, which you can then use in the API.
Nothing much to add to what Tony & Miles said, just that my UI form contains these fields:
1) An Age limit - eg the past 365 days
2) A keyword in the title - typically all the surveys for one client have that client's name in the title. Hint: if you can be organised enough to enforce a convention, and put keywords in the nickname, the nickname is what the API looks in for Title, although what the user sees is the other title.
3) A start date to get responses only after a start date - the first day may have been only a test.
4) A combobox with all the matching surveys is presented showing the title, number of respondents, date created and date recently modified, pretty much the same as what appears in the SurveyMonkey web UI. That's where they pick the one they want.
HTH
Patrick

how to efficiently get all the user_likes from one feed's comments with graph api or fql

When I'm getting one feed and all his comments,
I query each comment id with :
170169929672639_320612368034130_1646407?fields=user_likes,
to know if the current user likes the comment.
Is there a way to get all feed\comments (well not ALL, but the next group of comments)
with the user_like field for each comment in one request (batch request/multy query fql/other)?
Thanks in advance.
The field expansion update to the Graph API will let you get all the likes for all comments on a feed - USER_ID?fields=name,feed.fields(comments.fields(likes)).
Link - https://developers.facebook.com/docs/reference/api/field_expansion/

What does the number refer to in link

I am looking at old posts to try and figure out what's wrong with the hackbook example at https://github.com/facebook/facebook-ios-sdk/tree/master/sample/Hackbook .
In this post, Post image to facebook using graph api , it seems that his problem was 117795728310/photos" instead of me/photos
What does 117795728310 refer to? I'm assuming it's not his app id. If it's his user id, where can I find out what mine is?
Thanks,
Mich
The paths of the open graph usually start with the id of the object and then it's connections.
For example: 6708787004/feed will return the feed for the South Park page.
The id can be replaced with a "username", so the above example is the same as "southpark/feed".
And "me/feed" is the same as "YOUR_USER_ID/feed"
You can get your id in all kind of ways, it will be easier to just check "/me" in the graph explorer.
The id you posted is not of a user but a page (graph explorer)
It does look like a User ID.
Go to http://www.facebook.com/note.php?note_id=91532827198 to see how you get yours

Resources