I'm trying to get the "specialties" field from the LinkedIn API but it returns nothing. So, this field is still avalible?
note: I barely use LinkedIn and I'm using my account to develop this app, so, maybe that field is empty. If it's that case, please tell where I can find it.
Basic Profile Fields
The specialties field has been removed from the API as stated here, but the API docs haven't been updated.
In my case, I can see the previous content of that field added to the summary field as plain text: "my-cv-summary \nSpecialties: my-specialties".
btw, you can test the API here https://apigee.com/console/linkedin using this URL:
https://api.linkedin.com/v1/people/~:(summary,specialties)?format=json
...and allowing apigee to connect to your profile, obviously. You'll see that no specialties field is returned, but if you had informed that field before the change, you'll see it's content added to the summary.
Related
I'm developing a review site.
I'm attempting to show a poster's displayName and photo, which means whatever people login in or not, any guys can see the poster's displayName and photo. The poster first log in and then post a review. other guys can see the post content, the poster's displayName, and photo url. How can you achieve it with Firebase Auth and Firestore?
I know that I can do it by using getUser or getUsers function from this ticket.
How to retrieve another user's info like email and displayName in Firebase?
However, those functions seems to be for admin so it's not good to use it in the above case due to security issue.
Any advice?
Firebase admin SDK is only to use on server side. If you want to have a poster display name and photo, just add it to a post he creates or create a collection with a poster's information in it. So when you get a post with owner uid you can again fetch data with poster information.
I recommend having first option because it needs just one read for users to make. And like I said in comment if user change some think you can find all his posts and change his display name or photo there. Feel less reliable, but in reality you don't want to have 50k reads instead of 25k out of poster 5 posts.
I'm pretty new to GA, so forgive me if this seems obvious. Also, I am not the GA admin, that is someone else.
I have written a user registration form in a WP plugin that registers users via an API to our CRM - these are not WP users being registered.
Our marketing department have asked me to also submit a GA custom dimension with the form so it can be cross-referenced in our CRM.
Looking over the GA API, I can't seem to find a way to simply 'get' the current value of the requested custom dimension, only 'create', 'set' and 'send'.
Any advice on this would be helpful - and don't be afraid to "dumb it down", or point to a section on the GA support forums!
You can't easily get the value from GA and send it to your CRM.
I think for your use case you need to look at it the other way around.
You want to get the submission ID from the CRM on the "thank you" page and "send" it to GA in a custom dimension.
A client is asking for an option to automatically repost/copy a published post from WordPress to a LinkedIn article since there's a different audience watching both feeds.
Most created WordPress solutions only facilitate sharing a link to the website post on the standard feed and from what I can find at https://developer.linkedin.com/docs/guide/v2/shares/articles-api there seems no option to create articles through an API, only retrieve and delete them.
I was wondering if I missed something or if at the moment it's not possible to create LinkedIn articles through the API. Thanks.
so because you speak of a client. i will take this as a hint that the article needs posting on the company page.
you should read the following page:
https://developer.linkedin.com/docs/company-pages
this page contains all information regarding managing company pages including adding posts.
There are two methods for sharing content via the REST API. The API endpoint is the same, regardless of the method you choose — only the format of the request body differs.
Post a plain text comment. Note that if the comment includes a
fully-qualified URL in it, LinkedIn analyzes the included URL and
automatically identifies the title, description, image, etc., to be
used as part of the share. Share with specific values — You provide
the title, description, image, etc., directly in the body of the
request.
NOTE:
you cannot use the V2 api's without a partnership with linkedin. the link i provided is for V1 api. this api is for free use. if you necessarily need the V2 then just post a comment and i will explain the proces of the partnership.
I'm using the WooCommerce REST API (http://woocommerce.github.io/woocommerce-rest-api-docs/#introduction) and are able to download Customers, Orders etc successfully.
My customer has added some custom fields to the checkout page, e.g.:
po_number
accounts_email
I would like to be able to GET these custom fields when requesting an ORDER, e.g.:
/wp-json/wc/v1/orders/4568
At the moment none of the custom fields are returned when I GET an Order. I've tried adding
?filter[meta]=true
to the request URL but that doesn't make any difference. Is there a way I can modify the GET URL to include all custom fields? Couldn't find any reference in the REST API docs to custom fields.
I have struggled like you did, but then it turns out using the newer v2 REST API solves the issue for me. So instead of:
/wp-json/wc/v1/orders/4568
I now use:
/wp-json/wc/v2/orders/4568
And custom fields will be included in the response with the key meta_data, even with those hidden fields starting with _.
I'm using the Custom JavaScript variable to get the value of "User Name" and "User Email" via Google Tag Manager.
My question is, how do I create a custom report that shows all the User Email and User Name that accessed my site?
Thanks in advance.
Firstly, note that it is against Google Analytics Terms of Service to be collecting anything (name, email, address, phone, etc.) that can be used to personally identify any individual. So I hope you are not pushing that info into GA.
Secondly, generally speaking, you can push information into custom dimensions that can then be used in your GA reports (standard reports, custom reports, etc.). So if you are able to get data into a Custom JS variable, then there should be away for your to push them into a custom dimension.
Please make sure you are complying with the first point.