ziedinjsh Posted January 27, 2015 Report Share Posted January 27, 2015 Sveiki, ir portālā ievietota poga Like ar share pogu. Vai ir iespējams saglabāt datubāzē tos kuri uzspiež uz share pogas. Piem. uzspiež uz share pogas, tiek nopstots facebookā saturs un pašā m-lapā saglabā datubāzē lietotāja id un fullname? P.S. Paldies jau iepriekš Quote Link to comment Share on other sites More sharing options...
foxsk8 Posted January 27, 2015 Report Share Posted January 27, 2015 Man liekas ka šādu info tu vari saņemt caur API, jeb pasi, bet ne ar ar parasto share. http://stackoverflow.com/questions/5648743/graph-api-get-information-on-facebook-link-shared Quote Link to comment Share on other sites More sharing options...
ziedinjsh Posted January 27, 2015 Author Report Share Posted January 27, 2015 (edited) mjā, nevar gan. Bet vai ir iespējama kāda funkcija uzspiežot uz share pogas? JS: <script> window.fbAsyncInit = function() { FB.init({ appId : 'xxxxxxxxx', xfbml : true, status : true, cookie : true, version : 'v2.1' }); }; </script> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id))return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=xxxxxxxxx&version=v2.0"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> Edited January 27, 2015 by ziedinjsh Quote Link to comment Share on other sites More sharing options...
ziedinjsh Posted January 27, 2015 Author Report Share Posted January 27, 2015 vienīgi tad jāmeklē share pogas avots un uz to uzspiežot jāizsauc kāda funkcija Quote Link to comment Share on other sites More sharing options...
Kemito Posted January 28, 2015 Report Share Posted January 28, 2015 http://stackoverflow.com/questions/23116001/facebook-like-and-share-button-with-callback Quote Link to comment Share on other sites More sharing options...
goma smile Posted February 5, 2015 Report Share Posted February 5, 2015 Ja godīgi, relatīvi pasen aiz neko darīt "dročiju" uz twittera pogas un ir iespēja ir iespēja ja atver un ir iespēja tikai tad ja uzspiež tieši Tweet Kad ieraksta tavā timelinā... PRotams pēctam ja gribi ej caur twitteri un izdzēs..Facebookam arī tas bija iebūvēts.. Draugiem nebija, tapēc tā arī līdz galam neizstrādāju.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.