Php Facebook share link - javascript

I have a website with some Facebook "Share" buttons.
The Facebook "Share" button was working properly until a few days. I haven't touch the code in the meantime.
Now, I get a notification "Not found- back to Facebook", each time I click on the share button in my website.
Here is an example of a link for sharing:
http://www.facebook.com/sharer.php?s=100&p[title]Mytitle=&p[summary]MySummary=&p[url]=http://www.tribalartmagazine.com/index.php?content=article&section=news&id=360&lang=en&p[image]=http://www.tribalartmagazine.com/assets/data/news/n360.jpg
Thank you for your help as I really don't see the problem.
I searched but I've seen nowhere that Facebook has changed the attributes of the shared links lately so I really don't know what should be done.

urlencode only the arguments, not everything, also, the correct url is:
https://www.facebook.com/sharer/sharer.php
not
https://www.facebook.com/sharer.php
<a class="element1_item_facebook_on" href="https://www.facebook.com/sharer/sharer.php?s=100&p[title]=&p[summary]=&p[url]=http%3a%2f%2fwww.tribalartmagazine.com%2findex.php%3fcontent%3darticle%26section%3dnews%26id%3d433%26lang%3den&p[image]=http%3a%2f%2fwww.tribalartmagazine.com%2fassets%2fdata%2fnews%2fn433.jpg">Share Me</a>

Related

Save button of pinterest doesn't work for anonymous user

Like we share the url in facebook and twitter, I need to do similar kind of thing with Pinterest where user can save/pin any image url of my site into their Pinterest board.
I have gone through the documentation of Pinterest which works fine for me if the user is already logged-in in Pinterest but For the anonymous user it opens the Pinterest login window and stays in the pinterest home page after successful login. The image url to be saved is lost somewhere.
Am I missing something in documentation or Is it the way it works?
Need a little help here.
Thanks
I asked the same question to the Pinterest support and they clarified that this is the way 'Save button' works and they will look into it to see if they can change the way it works

redirect link from facebook to website - javascript?

I have articles posted on facebook from my website http://juniorgoldreport.com/
the website is made in wordpress, and I've also created a "Welome" landing page where I want most new users to be directed too.
I have no idea where I can find information on how to do this, even after countless efforts of googling.
To give an exact idea of what I' trying to create...
Where someone clicks on an article on facebook, it'll take them to the "welcome" sign up page, then have a link on it to the article that they clicked on. The link would change depending on what article they clicked on so they can be redirected properly.
I know I can just hard code it, and create multiple landing pages with different links in relation to the article posted, but this just seems inefficient.
Does anyone know how to go about doing this?
this is the landing page
http://juniorgoldreport.com/welcome/
You can try using Javascript, as it would be much easier than creating several webpages. At the point in your page where you want a link to be placed, put something like
<p id="mynewredirectlink">Hey!</p>
And then at the bottom of your code, add some javascript to resemble this:
<script type="text/javascript">
if (document.referrer === "facebooklink.com")//Where did you come from?
$("#mynewredirectlink").innerHTML = "Hey!" //Where are you going?
Then include the other sites you need, and close it with
</script>
There may be some sites that have varying parts, like an id, so if you need to, you can use (document.referrer.includes("facebook.com")) instead.
You can convert your landing page into a fullscreen modal popup. So every new visitor will see the popup when the visit the site or any article. They can fill the form / they can close it to see the article. There is already several plugin for modal popup / newsletter popup. You just need to do a little bit css to make it full screen.

iframe on a wordpress site that has a "next" button. I need to auto click that or something

I thank anyone in advance for any assistance.
The website is alberniproperties.com. To access the Multi Listing Service and allow visitors to search the available up to date listing I pay for an iframe to give me that search functionality. However it has a long disclaimer at the beginning which I have feedback is deterring prospective home buyers from waiting after they press the agree button to reveal the attractive current listing with the option to refine the listing with different filters.
I would be so grateful if somehow that button to proceed to the listing pictures was auto pressed on the loading of the page so by the time the visitor scrolled to that part it would be all ready for them to use.
The website is hosted at godaddy as a managed wordpress if that is helps, please let me know if there is any thing further I can add to have someone assist me.
Thank you kindly
You have the iframe source, right?
Put that address in your browser bar, click the agree button and behold a new url. Can you use that url as your iframe src?

Simple Facebook "Share Link"

I am working on a site where posts are made and I'd like to give visitors the ability to "share" a particular post that they link on their timeline. I have never done any social media integration, but I followed the instructions via the FB API and am still having problems. It's easier to show you than try to explain it. Go to http://www.badcustomerbureau.com/ and click on any of the Share links at the top of any post. Instead of sharing the post you clicked on, it tries to share a generic post with the same photo every time (photo of a dog). I used the code generator on the FB help site and it still has this issue. Please help!
I did receive one suggestion from a member of this site, but I am still seeing the same behavior.
I think its already working. I've tried it before in my own website http://socialviralworld.com/. You just have to login first and see the changes.
See image:

Automatically click an menu button in youtube comments page using javascript

I'm trying to implement a chrome extension to retrieve comments from youtube, a problem is that I want to sort the comments by timeline,one way is to click the "Top Comments" menu and then click the "Newest First" button, I've tried many ways to simulate this operation using javascript(both in content script and chrome console) but failed. Could someone give me some hints? thanks.
Example: see comments of a youtube video here.
If you want to get the comments it's a bad idea to do it using the web interface, instead you should use the API which is less prone to changes.
Useful link:
https://developers.google.com/youtube/2.0/reference#Comments_Feeds
https://developers.google.com/youtube/2.0/developers_guide_protocol_api_query_parameters#orderbysp
https://developers.google.com/youtube/articles/changes_to_comments

Categories

Resources