How to loop through modules, link topics, and LTI links - desire2learn

When we import content from our system to D2L, we create an LTI Link, a Quick Link given the LTI Link, and a Link Topic given the public URL from the Quick Link. This is all good, a nice traceable chain and relationship.
Now, I am in need to pull this same information out.
I can see a GET to /orgId/content/root will give me modules.
I can see a GET to /orgId/content/modules/moduleId/structure will give a array which includes Link Topics and Modules (and recursively more of the same).
However, I am stuck on obtaining LTI Links for the Link Topics. These are they 2 key abstractions for us.
I am further stuck on what exactly the Quick Link does for us. There is no way to GET a Quick Link.
Now, going the other way, I can see a GET to /lti/link/orgId will get me all the LTI Links in the course. But, there's no way to tell which Link Topic it's associated with.
Ditto for the Quick Link in this approach; I just don't know where this abstraction fits in.
Please advise. Thanks dearly.

A response has been posted in the Developer Community of Practice: https://community.brightspace.com/devcop/f_technical/how_to_loop_through_modules_link_topics_and_lti_links

Related

Passing specific delivery instructions through to ChowNow from online ordering link

I'm helping develop an online ordering process for a local business, and they are offering food delivery to their location from specific partnered restaurants. The problem we're looking to solve is making the experience as smooth as possible for the user, so we're aiming to fill out these specific data fields to make the process smoother. They have QR codes on their tables, that link directly to their websites ordering page, from there the user can select from a few local restaurants, and are linked to their online ChowNow menus.
Does anyone have any experience using ChowNow, and knows if there is any way to pass off specific delivery instructions to ChowNow, specifically an address, from the link provided to the users from the QR code on their table?
We haven't found anything too helpful on this problem from ChowNow's official documentation or support. There are alternate ways that we have in mind to solve this problem if need be, but this is the desired solution from the client, and we would like to have stick with this method if possible.

How to add "Order Online" link on GMB using the API

[NOTE: This may be not the right place for this question. Can you please refer me to the right place if this is not.]
I know you can login to GMB, verify the business and than add the "Order Online" link from the GMB console.
We are an agency and expanding fast so we are trying to find out a way of adding our link to all our customer's GMB pages without needing to getting verified for each of them separately but rather using the API if possible.
Anyone here has experience doing this? I looked through the API, but can not find anything like this.
It is not possible to influence this attribute. See this article
In some cases, links to certain third-party booking services will appear automatically on business listings. These links cannot be edited in Google My Business.
If you want to remove or fix a link in your own listing, please contact the third-party provider’s support team or a technical contact to request they remove your data from the information they are sending Google.

Get a review link with Google My Business API

Is there a way to get the link of a review using the GMB APIs?
The closest to what I need is this:
https://www.google.com/maps/contrib/113400145807499011881/place/ChIJSRSm38NhLxMRBgg2EGMZqKc/
Where the first ID (113400145807499011881) is the ID of the user who left the review, and the second ID (ChIJSRSm38NhLxMRBgg2EGMZqKc) is the place ID.
However, the review object returned by the API does not seem to contain enough information to obtain the reviewer user ID.
Thank you,
Guido
I was searching for a way to get the url to the review overview for a specific location via the API too.
After checking the links, IDs ect. in the API Responses and lots of documentations an tuturials i found NO way to get the link over tha API.
BUT a workarround with a few manual steps can help to find the link (I know that is not a final answer to the question, but maybe it is still helpfull)
go to google search, and search for you Location/ Company that contains the reviews
on the right side you should see a pannel that shows the current stars for your location and a link "xxxx Google-Rezensionen"
klick on this link and copy the url in the browser
(optional remove parameters like "&client" ect.
Check this youtube-video of the Step by Step Tuturial to see a tuturial how you can do this.
newReviewUrl is the Parameter if someone read this:
https://developers.google.com/my-business/reference/rest/v4/accounts.locations#urlattributevalue

Google Analytics Custom URL Reorting

I have used custom url builder to build custom url and submitted to different directories.
URL is
?utm_source=directory&utm_medium=referral&utm_campaign=DirectoryReferrals
Now i am stuck with reporting coz it shows source as "directory" thats what i need it to show but full referral part is showing as not set.
How can i get full url of the referral source? Need help as soon as possible.
Is there any way to get the url of the referral?
I think you may be misunderstanding the usage of the utm_source parameter in the context of custom campaigns. It wouldn't be used to get the source URL that you used when tagging your campaign, but rather it should show the source where the campaign is originating from, for example advertiser, site (eg. "google"), publication (eg. "newsletter", "billboard"). More information on campaigns can be found here: https://support.google.com/analytics/answer/1033863. Also some good info on why you are getting "not set": https://support.google.com/analytics/answer/2820717?hl=en.
If you are trying to see where traffic is coming from, eg. www.google.com, www.facebook.com, then you wouldn't use custom campaigns for that.
Hope this helps.
I agree with Nyuen, you might have misunderstood the concept of UTM tracking code.
I would suggest that if you want to know that from which referral source you got the traffic then you can write it under UTM_SOURCE.
Suppose if you have promoted your post in the Facebook and Google, then in the UTM_SOURCE you can write Facebook there.
Example:
http://www.grazitti.com/resources/webinars/5-must-have-features-for-your-service-cloud-implementation.html?utm_source=Twitter&utm_medium=Webinar_Tweet&utm_term=Service_Cloud&utm_campaign=Social
Hope this Works :)
You always able to find your refferal traffic under > Acquisition > referral even you tagged link with utm.
If it's not help, please upload some screenshot.

Google+ Authorship: #REL, GET Parameters and Redirects

I recently decided to start to take advantage of rich snippets to improve my personal website's content for the search engines and, IMHO most importantly, the site readers – hi, Mam! ;-). One of these are Google Authorship. Personally, I think the idea behind Google Authorship is a sound one: it helps to brings a sense of identity, personality and – arguably, most importantly – credibility to what is still largely an anonymous web.
Normally, I would link my article to Google Authorship using the following line of HTML:
<A REL="author" HREF="https://plus.google.com/112431363835029530079?rel=author">Jordan Clark</A>
However, in the instance of a website that publishes articles that are written by multiple authors, manually entering each another’s Google+ UID string starts to become a tiresome process.
Is is valid to do the following:
(a) Link to the author like so, using the script "author.php" (or other type of server-side script).
<A REL="author" HREF="/author.php?by=Alice&rel=author/[UID]?rel=author">Alice</A>
(b) The file "author.php" scripts simply do a quick check for Alice's (or whoever) User ID string provided by Google, and then uses a simple HTTP redirect header to pass this data to Google.
What I would like to know is:
Is it okay to use a local script to redirect to your Google+ user profile? (i.e. will it affect the PageRank of already indexed page or have any other unforeseen negative effects on new and indexed pages?)
Why do I not see more people linking with Google’s “prettified” version:
http://profiles.google.com/clarky.y2k?rel=author
Are there any drawbacks to using the “prettified” version of this method?
Ideally, I would like to use the intermediate PHP script, as I have already described above (see part 1). However, any tips, suggestions or other ways you may have implemented on your websites are very welcome!
For item (1), you can maintain your own app's profiles (author.php in your case) for your authors. On your own app's profile page (author.php), you would add a link from that page to Google and specify the rel="me" attribute on that link. So Alice's profile page might say something like "Find Alice on Google+.
This indirect authorship linking is supported. You also will need the link from Alice's Google+ profile that lists her as a contributor to your site. Once the linking is setup in both directions, authorship can start to show up. Authorship won't always display in all cases and can take some time for it to start appearing as Google would need to reindex your pages.
For item (2), I don't think the profiles URL will enable authorship. Some people use that URL as a vanity URL, but as far as I know it isn't supported for use with things like authorship, badges, etc.
You should test if your redirects are followed using the Rich Snippets Testing Tool: http://www.google.com/webmasters/tools/richsnippets
rel="author" is no longer supported.

Resources