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

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:

Related

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.

XENU Link Sleuth - How to skip Images?

My website is a static html photo gallery which has more than 100,000 html pages with no database, just simply html (old website, not a adult site)
I used to create sitemap and find broken links using Xenu application and I did skipped images (*.jpg) when creating a sitemap before but now (after some 4 years) its not working or I forget what I added in exclude options.
I used below formats to exclude/skip images to add in generating list/checking.
*.jpg*
*jpg*
*.jpeg*
*jpeg*
But its not working.
I really need to skip images because if there is 100k html pages, there is 100k HQ photos with 100k thumbnails :( and all this will make bigger sitemap and I don't want my direct photo links to index in search engine.
Please help. Any possible ways to skip "image/jpeg" ?
Thank you very much.
I just had a similar requirement, and it turns out that Xenu have a "wildcard edition" that works with regex. It is available on their website.

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 :)

updated page og tag to update in facebook

On my website there is a page that a user is able to update with new images and description. I'm pulling this information into the og tags so that when it gets shared on social media it shows up. What I'm trying to accomplish is to have the user update their info on my website and then when he pastes the same link into facebook to have a new thumbnail for the attached link. I know about the facebook debug tool, but it is too much to ask from my users.
Is there any solution to this? The only thing that I came up with is to attach a random number at the end of the link (or a version number based on the number of updates).
Thanks

display twitpic using actionscript 3

I would like to find out if it is possible to display twitpic with specific hashtag in flash application. I have been searching online but none has actually provide similiar solution. Please give me some source as reference as I have been stuck for quite awhile. Thanks a lot.
You will need to use the twitter API to do a query on a hashtag search. Then use the twitter image domain to pull images for the user's screen name that's in the json result in the query.
URL address to pull images:
http://img.tweetimag.es/i/UserName
Twitter API for searching (includes hashtags):
https://dev.twitter.com/docs/using-search