Using Instagram API to automatically show recent user images by username? - wordpress

I have a feature on a WordPress website that I'm working on where an Instagram feed is displayed on a user's page. They are able to enter their IG username. I want to be able to simply display the last 10 images from their feed. I would do this manually but there will be many, many users on this website.
I'm not clear from their documentation how to do this in an automatic way. I can show a feed for an individual account if I register via that account on the Instagram Developers page, create an access token, and figure out my client ID. This is a manual (and tedious) process as far as I can see.
I tried even looking if I can scrape the Instagram page as the format is just https://www.instagram.com/username but they almost appear to obfuscate the class names to prevent this.
Is there no way to simply (via a plugin or otherwise) just poll Instagram for a certain public user's images and return them?

Related

How can I track individual user activity on a Squarespace website without using Member Areas?

A bit of background:
I have a very simple Squarespace website, where I've created a manual form set up that takes in a user's email and a password for them to "login". They can only view the website once they're logged in. I didn't use Squarespace's features (like Member Areas) because they contain far too many undesirable features that are unable to be turned off (for example, I can't turn off automatic emails sent to users, I can't stop Squarespace from asking for first and last name, etc).
Now, I've been trying to figure out how to use Google Analytics' User ID feature (Universal Analytics, not GA 4 because GA 4 doesn't have great documentation yet and its features are still quite limited) in Squarespace so I can track the pages individual users view, but it's been giving me an insane amount of problems that aren't super well documented (from what I've seen at least). The biggest problem that I've been running into is that since my user ID is derived from the user's email (along with additional randomized numbers), I can get individual user info at the login page from the form submission, but I don't know how to keep this user info such that after the user is logged in and viewing various pages, I can still keep track of the user ID and enter it as a parameter in the GA configuration code for each page. I haven't seen evidence of a global variable system in Squarespace where I can store this user ID, so I'm pretty stumped (though I would be happy to know if someone knows of something similar).
Does anyone have any idea how I can individually track user activity on Squarespace without using Member Areas?
If you use the User-ID view you must send the user id in all hits, otherwise you will not see interactions in that view where that information is not present.
As an alternative (recommended) you can use a custom dimension at the user level, in that way you just need to send the userId even once, collect it in the custom dimension and from that moment on (including previous interactions of that same session) navigation of that user (also for subsequent sessions) will be associated with that identifier in Analytics.

Woocommerce - Order Tracking Link

I want to include a 'check my order status' link in the thank you email. Woocommerce comes with a order tracking form, but the user has to input their order id and email. Is there a way to show the tracking page without going through the input form?
I know my accounts has a view order link, but that would only work if the user is registered.
Yes, you can show an order tracking link in your email. It is a bit convoluted way and will take some time. It is much easier to let the user input his information. This makes things a lot less complicated. But if you absolutely need the order tracking in the email, then,
Put this information somewhere other than your secured site,
Make sure you update this information regularly,
Take the ID of
this information from your database and make a GET endpoint(hoping
its a web application), such that it takes in the ID number of the
information and displays it,
This GET link needs to be embedded
into a HTML form/template which you are sending as the email
If you want the whole implementation, you need to specify the tech stack you are using and other details.
If you want to show one tracking page which page customers/users can search their order status without login, then you can use the plugin Order Tracker for WooCommerce
If you use the plugin then the user can check his/her order status without login/hassle free, and also you don't need to add any extra tracking number, user can search using their order ID and phone number.
you can use it the very easy way, like making a page template or using the [cbwct-order-tracker] shortcode, anytime anywhere, and it’s also working with ajax.
You can watch the video for the plugin documentation on how to use that plugin here is the
Video Tutorial

Extract user data from a facebook link

I am creating a website that allows users to post a picture to their wall that is linked to an interactive version of that post (the wall post/picture is basically a screen capture of this interactive content) in a unique URL. I want to be able to gather profile data from any user that clicks the link in Facebook and interacts with the content.
Is there a way to do this?
Thanks
No, without user authorization you can´t get ANY data of users who click on a link on Facebook. Check out the Facebook docs for information about authorization/login: https://developers.facebook.com/docs/facebook-login/v2.2

How does instagram create huge thumbnails on its user's feeds

I would like to understand how does instagram show large image thumbnails, with each thumbnail having individual actions such as Like and comment. Is it possible to do via the Open Graph API or is this due to Instagram being a property of Facebook?
The custom action and objects API does not seem to allow such a layout. An example is shown below
This is supported by the API via the user generated photos functionality:
https://developers.facebook.com/docs/opengraph/usergeneratedphotos/
has the docs, and you need special approval for your actions
You add the following parameters to your existing publish calls:
image[0][url]=<URL TO IMAGE>
image[0][user_generated]=true
image[1]... etc
{edit:} Actually, i'm not sure how to render that aggregated unit - my answer above is for the photos functionality itself

google gdata api in asp.net

i am in process of creating a image catlogue for a client, i was thinking that upload the relevent images to picasa and make it as private, then using gdata fetch the album name of the particular picasa user , after choosing it show all the images of the album in thumbnails in site. i am planning todo with asp.net and gdata , i am struck with the authentication process, i dont want the client to create a gmail id for each of his customer to view the catlog images, is there any possible way to show all the images
Just tag the photos with user names, then you can store them all in one album under one Gmail account, and retrieve the correct subset of photos based on the associated tags.
You could also use the facial recognition feature to make the tagging process easier for yourself, if there are people in the photos.

Resources