How do I get a number of clicks of a given url (not on my website) at a given time? - web-traffic

Is it possible to get a number of visits of each url that is not on my website? My goal is to get a top-10 article links on a given news website that are read the most. Thanks!

Related

How to determine URL with search query filled in

I am trying to make a hyperlink to embed in a pdf report I am sending out to my company. For example I use multiple carriers and put in the container number for tracking field and hit search. I would like the url to the direct results page. How do I achieve this?
Website https://www.hamburgsud-line.com/liner/en/liner_services/ecommerce/visibility/track_trace/index.html
Tracking SUDU1335271

Facebook Graph API - all account pages + posts data

I'm having an issue trying to write the correct GET request using the Facebook API explorer tool.
I'd like to access all my Facebook pages and the below data from their respective posts. I can achieve this by adding the page name manually, but I'd like it to be more dynamic if I was to add more pages in the future.
posts?ids=Pagename,Pagename,Pagename,Pagename&fields=message,created_time,full_picture,shares,likes.summary(true).limit(0),comments.summary(true).limit(0),from,permalink_url
I know you can use me/accounts but I've had no luck when trying the append the above posts GET request.
Furthermore, I'd like to get the page profile picture from the posts. Just adding picture to the above request doesn't work. Since the profile picture is displayed in each post I'd imagine there is a key to access it?
Any help is appreciated.
I discovered the answer after I reread the documentation
https://graph.facebook.com/v7.0/me/accounts?fields=picture,posts{message,created_time,full_picture,shares,likes.summary(true).limit(0),comments.summary(true).limit(0),from,permalink_url}
All attached accounts profile picture + above data.

How do I embed a live Instagram feed to a webpage rather than individual posts?

I am aware that I can embed individual Instagram posts to my website in HTML, but I want to embed a live feed consisting of the five most recent posts which update along with the profile in real-time.
For those who want to know why: I want this feature to be part of the "Photoblog" page of my site without having to have visitors navigate away.
How can this be done?
The best way would be to use their API.
You have this endpoint: https://www.instagram.com/USERNAME/media/ where you don't need any token.
It gives you the last 20 posts.
Then you just display that on your site :)

Image.uri not displaying images of the links in my Rails app

I am building my final year project on Rails. I got the idea from an IEEE paper. It is called "News recommendation using Twitter" where it fetches the hashtag keywords from the user's twitter timeline and gives latest news articles on a personalized index page based on those keywords.
I am almost done with it. But I am facing problem in displaying the images of those fetched articles. Its fetching the link of that article but not the image of that link. Please check the app/views/tweets/index.html.erb on Github and let me know why it isn't fetching the images along. Thank You.
Current index page:

Reveal Tab with Unique content based on location

Lots of marketing articles suggest using a coupon as an incentive in a reveal tab, but I don't see how you would prevent people who have liked your page from abusing the coupon by accessing it over and over.
In my app, I want to offer a coupon that the user sees only the first time they like a page. Users who have been to that page before would not be able to access it again.
I also want to limit who can see it based on location.
When your iframe fan page is rendered, Facebook sents an HTTP POSt to your page with a signed_request post parameter. If you decode it, you will get details about whether they like your page and what country/language they are from. If country works for you, then you are all set for that part. Restricting the coupon to only being viewed is not possible based on the anonymous information Facebook sends. You would need to create an application and have the user approve your application so you can get their ID and log that they have seen it. This would also give you more detailed information about where they are located.