Embedding my linkedin badge in my Academia.edu page - widget

I am currently trying to add my linkedin badge to my Academia.edu page. The code as provided in http://www.linkedin.com/profile?promoteProfile=&trk=mypro_badges does not seem to work. Has anyone experienced the same issue? Any idea?
Thanks,
Ilaria

I'm not familiar with Academia.edu, but are you sure they accept raw html code? If they do, maybe you need to switch to their html editor - you might be stuck in their 'simple text editor' or the likes.

Related

How to make many pages in vs code

So I made 200 line code for a website I'm making and then I made a button to open another page that i will code as well but here is the problem I don't know how to start another page in vs code please help I'm beginner at coding I tried searching in YouTube but nothing helped
It can be hard to learn how to start - but we've all been there. You can do it!
For a brief starter, in VSCode, you can try this, and start learning from this point.
In your first HTML file button, ideally you'll have HTML similar to this: <a href="/file2.html"/>. In VSCode, just create file2.html in the same directory as file1, and add some HTML. It should populate.

Web preview when posting on Facebook/Linkldin

I got a little issue,
when I share my portfolio in Facebook or Linkdin I get a preview of the web as an image but with a wrong image(one of the images included in the code itself).
how can I fix that so that the preview image will be the the web image?
thanks
If you've already generated the image, I think you need to use this: developers.facebook.com/tools/debug to rescrap it and try and get FB to pull in the correct image.
There's a section, in the screenshot, that allows you to bulk clear FB caches if it's more than one URL you're having issues with, if it's just the one, the first tab should be what you need.

Sharing Link on Facebook Wall

I'm trying to share in my Facebook wall a personal link and it's showing this image. I tried to modify metadata, etc in my website, but still same problem. Please any suggestion to fix it, thanks
Use: https://developers.facebook.com/tools/debug/
Use the sharing debugger and then scrape the page again to update it.
Also make sure to use the property: 'og:image' on the image you want to show.

How to open an iframe from clicking an image

I'm wondering if anyone can help me. I'm hoping I can open an iFrame in the centre of my webpage from clicking a picture. So in effect the iframe would be hidden until the picture is clicked. I have a very small and simple upload form on another page that I would like to appear when the user needs to upload and click the picture. I've had a good look round on this site and google in general but not found what I'm looking for, or the basics weren't included because it's common knowledge for most people here. Would there also be a way of closing this when it's finished uploading too? The form currently diverts to the homepage when finished so It would be handy to have a close option as in the end (post successful upload) the iframe contents will be the same as the page it's displayed on.
The best/easiest I have come across has been on w3schools but I have read using html for iFrames is not widely accepted or it isn't the best option cross-browser.
I have been viewing and trying different code but without even the basic knowledge I can't get my head around it.
If anyone is able to help, please assume I'm 5 years old. I'm not daft but in terms of code I'm literally just starting.
Thanks in advance
You would need to add a javascript onclick function to your img tag which would open a new window upon a click. You would pass the window.open function the name of the html file you want to display. Something like this:
<img src="image.jpg" onclick="window.open('welcome.html')">

How do you add FBConnectButton?

I see several websites such as macrumors.com using a Facebook button that is dark blue with their facebook logo and the word share on it... looking at code it says its called FBConnectButton, but a google search for it turns up nothing useful, nor is it obvious on the Facebook website.
This post refers to it as well, but not where the code originated from:
How to modify the facebook share button?
That's the old fb:share-button, you should probably be using fb:like these days, as fb:share-button has been phased out.