alliance hannibal lecter Index du Forum
FAQ  Rechercher  Membres  Groupes  Profil  Se connecter pour vérifier ses messages privésConnexion   S’enregistrer
Auteur Message
<  Javascript Facebook Share Link
sireyid
MessagePosté le: Mer 10 Jan - 03:53 (2018)  Javascript Facebook Share Link --> Répondre en citant

Hors ligne



Inscrit le: 08 Mai 2016
Messages: 168
Localisation: Marseille




Javascript Facebook Share Link
> DOWNLOAD (Mirror #1)










============= AUTHOR David Rust-Smith www.davidrs.com ============= DESCRIPTION If youre trying to make a share button (also called a Feed Dialog), theres a long complicated way with JavaScript, great for finer control, but if you want something quick and simple you can just build a normal, one-line, link. .. more stack exchange communities company blog Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Log In Sign Up . This code helps to build one for you. Ps: The onclick part only helps you customise the popup a little bit but is not required for the code to work . "n"); // 'MN' print($record->city->name . Watch 56 Star 931 Fork 122 bradvin/social-share-urls Code Issues 4 Pull requests 4 Projects 0 Insights Dismiss Join GitHub today GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together. View All Messages No unread notification. If a user clicks any of the following links without JavaScript enabled, it will simply open a new tab: Share on Facebook Share on Twitter Share on Googleplus Because they contain the share-popup class, we can easily reference these in jQuery, and change the window size to suit the domain we are sharing from: $(".share-popup").click(function(){ var windowsize = "width=585,height=511"; var url = this.href; var domain = url.split("/")[2]; switch(domain) { case "www.facebook.com": windowsize = "width=585,height=368"; break; case "www.twitter.com": windowsize = "width=585,height=261"; break; case "plus.google.com": windowsize = "width=517,height=511"; break; } window.open(url, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,' + windowsize); return false; }); No more ugly inline JavaScript, or countless window sizing alterations. shareimprove this answer edited Mar 4 '16 at 10:29 answered Feb 12 '14 at 13:31 rybo111 6,95224153 Nice solution! Also, I'm using some javascript to fill in the current page URL: $(".share-popup").each(function(){ var href = $( this ).attr( "href" ); href = href.replace( "URLHERE", document.URL ); $( this ).attr( "href", href ); }); &ndash;GavinoGrifoni Feb 2 '15 at 13:07 GavinoGrifoni it's better to include the current URL server-side to support non-JavaScript users &ndash;rybo111 Mar 30 '15 at 17:29 add a comment up vote 7 down vote You can use the Feed URL "Direct URL" option, as described on the Feed Dialog page: You can also bring up a Feed Dialog by explicitly directing the user to the /dialog/feed endpoint: appid=123050457758183& link= picture= name=Facebook%20Dialogs& caption=Reference%20Documentation& description=Using%20Dialogs%20to%20interact%20with%20users.& redirecturi= Looks like they no longer mention "sharing" anywhere in their docs; this has been replaced with the concept of adding to your Feed. You signed out in another tab or window. There is minimal error checking and input validation. Update your Xcode to Xcode 9. &ndash;King'ori Maina Feb 26 '14 at 16:03 1 Nice example of graceful degradation! &ndash;Jasny - Arnold Daniels Mar 4 '14 at 14:36 3 +1. "n"); // '55455' print($record->location->latitude . China Help & Support Freelancer Categories Projects Contests Freelancers Enterprise Local Jobs Showcase API for Developers About About us How it Works Security Investor Sitemap Quotes Terms Privacy Policy Terms and Conditions Copyright Policy Code of Conduct Apps --- Registered Users --- Total Jobs Posted Freelancer is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) Copyright 2018 Freelancer Technology Pty Limited (ACN 142 189 759) . Stack Overflow Questions Developer Jobs Tags Users current community help chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. &ndash;Justin Skiles Sep 9 '14 at 2:45 show 3 more comments up vote 29 down vote It is possible to include JavaScript in your code and still support non-JavaScript users. tedshd About Github Linkedin Blogger Facebook Google+ RSS Pages Archives Web Tools / Framework / API Keyboard Log Training GH60 - dev log TAG: PHP geoip PHP - Geoip PHP - Geoip php.net php GeoIP2-php MAXMIND , php.net MAXMIND , geoip2 GeoIP composer autoload php , step by step sample code city('128.101.101.101'); print($record->country->isoCode . No unread comment. AngularJS (3) CSS (24) compass (2) Codeigniter (3) Computer-Science (13) develop (2) DOM (1) file-upload (5) FlashPlayer (1) facebook (3) Git (7) gulp (4) Google (9) google-cloud-platform (2) HTML5 (2) HTML (4) Linux (7) issue (1) JavaScript (68) jQuery (3) keyboard (2) MySQL (1) Mac (9) MongoDB (1) Node-js (3) nginx (2) PHP (10) PostgreSQL (1) postcss (1) Sass (3) Samsung (5) Sublime-text (6) ubuntu (1) Vim (4) xss (1) font (1) Apache (2) Maker (1) Windows (1) docker (1) slack (1) webpack (1) RequireJS (1) ssl (1) webdriver (1) firebase (1) SEO (0) AMP (2) Apple (1) iOS (1) . You can use an indirect way to achieve this. it will work just fine without it. See photos and updates from friends in News Feed. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count). But If I want this to open in a pop up like the js version , What should I do ? At this moment it is opening in a new tab ! Thanks ! &ndash;Sagiruddin Mondal Nov 25 '13 at 23:29 This is not what I was asking for. &ndash;DMCS Feb 3 '12 at 3:17 2 I'm saying that if the user has JavaScript disabled, then they won't be able to share the page on Facebook. iPhone X - Overview - iOS Human Interface Guidelines It is great change for web & iOS developer. Example: appid= &display=popup &href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F &redirecturi=https%3A%2F%2Fdevelopers.facebook.com%2Ftools%2Fexplorer But you have to put in your registered appid, the href, and a redirect uri. Xcode > Open Developer Tool > iOS Simulator we can use Safari test web now. How can I deal with managers that refused to accept use of common software engineering design patterns? What fighters have both 1 & 2 engine versions? Is there a way to safely have exposed electrical wires? Could you strap shotguns to the back of a centaur to be fired during a charge? Does the interior surface of a Dyson Sphere exert gravity? How do I make a single face of an object a particle emitter? Knowing how much resizebox scales What is the mistake in "There are many Danes who speak English"? Can a lack of diseases in the medieval period lead to overpopulation? Can you make 1 1 1 1 = 5? Compare two numbers given as strings Hugely important database replete with errors Can the Scrum method be used with only one person and only one 10 day Sprint? 4-terminal shunt resistor Excluding files like web.config when using publishing in VS 2017 Should a value of a constant be changed over time? Is absolute pitch acquired by training, genetic or both? And if possible, is it much harder than relative pitch? How to measure small, spiky amounts of current? The Looping through a Static Resource List is Not Obeying Conditions Under what conditions would humanoids evolve eyes in the backs of their heads? Is verifying ISOs downloaded from the official website worthwhile? more hot questions question feed . Watch 1 Star 2 Fork 0 davidrs/Facebook-Share Code Issues 0 Pull requests 0 Projects 0 Insights Dismiss Join GitHub today GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together. &ndash;WebDesigner Nov 28 '13 at 19:24 WebDesigner I updated the answer. shareimprove this answer answered Feb 3 '12 at 0:50 Sndor Tth 51427 add a comment up vote 1 down vote Adding to rybo111's solution, here's what a LinkedIn share would be: Share on LinkedIn and add this to your Javascript: case "www.linkedin.com": windowsize = "width=570,height=494"; break; As per the LinkedIn documentation: For anyone who's interested, I used this in a Rails app with a LinkedIn logo, so here's my code if it might help: shareimprove this answer answered Sep 4 '14 at 20:33 Kyle Carlson 4,18222736 add a comment up vote 0 down vote In case you want to share on more forums, here is the solution. Reload to refresh your session. Stack Overflow Questions Jobs Developer Jobs Directory Salary Calculator Help Mobile Stack Overflow Business Talent Ads Enterprise Company About Press Work Here Legal Privacy Policy Contact Us Stack Exchange Network Technology Life / Arts Culture / Recreation Science Other Stack Overflow Server Fault Super User Web Applications Ask Ubuntu Webmasters Game Development TeX - LaTeX Software Engineering Unix & Linux Ask Different (Apple) WordPress Development Geographic Information Systems Electrical Engineering Android Enthusiasts Information Security Database Administrators Drupal Answers SharePoint User Experience Mathematica Salesforce ExpressionEngine Answers Stack Overflow em Portugus Blender Network Engineering Cryptography Code Review Magento Software Recommendations Signal Processing Emacs Raspberry Pi Stack Overflow Programming Puzzles & Code Golf Stack Overflow en espaol Ethereum Data Science Arduino Bitcoin more (26) Photography Science Fiction & Fantasy Graphic Design Movies & TV Music: Practice & Theory Worldbuilding Seasoned Advice (cooking) Home Improvement Personal Finance & Money Academia Law more (16) English Language & Usage Skeptics Mi Yodeya (Judaism) Travel Christianity English Language Learners Japanese Language Arqade (gaming) Bicycles Role-playing Games Anime & Manga Puzzling Motor Vehicle Maintenance & Repair more (32) MathOverflow Mathematics Cross Validated (stats) Theoretical Computer Science Physics Chemistry Biology Computer Science Philosophy more (10) Meta Stack Exchange Stack Apps API Data Area 51 Blog Facebook Twitter LinkedIn site design / logo 2018 Stack Exchange Inc; user contributions licensed under cc by-sa 3.0 with attribution required. I just want to use an anchor element. Email Sign Up or sign in with Google Facebook Facebook share link - no javascript Ask Question up vote 95 down vote favorite 43 The following link is for sharing a page on twitter: Is there a similar option for Facebook, that doesn't require javascript? I know about but that requires a get parameter to be inserted manually (which I'm not going to do), or with javascript (which doesn't fit my situation). But I can see how it all not 100% clear 5a02188284
facebook hack v1 6 gezginlerlike for this facebook statusdescargar aplicacion de java facebook para celulardownload facebook app for x2-01facebook software download mobile9.comzeitangabe bei facebook chatcodigos para facebook holahow to get others facebook passwordhow to get the password of others in facebookfacebook messenger apk rar


Revenir en haut
Publicité
MessagePosté le: Mer 10 Jan - 03:53 (2018)  Publicité -->






PublicitéSupprimer les publicités ?
Revenir en haut
Montrer les messages depuis:   
Toutes les heures sont au format GMT + 2 Heures

Sujet suivant
Sujet précédent
Page 1 sur 1
alliance hannibal lecter Index du Forum -> Invités -> Demande recrutement

Poster un nouveau sujet   Répondre au sujet


 
Sauter vers:  


Index | Panneau d’administration | créer son forum | Forum gratuit d’entraide | Annuaire des forums gratuits | Signaler une violation | Conditions générales d'utilisation
AdInfinitum v1.00 ~ mikelothar.com


Powered by phpBB © 2001, 2018 phpBB Group
Traduction par : phpBB-fr.com