how to get usernames and ids from this type of search? All the information is public here in this link. So how can i get a json data of the complete set of users.
https://www.facebook.com/search/108424279189115/residents/present/104057239629661/home-residents/intersect
In the link above, i have used 2 locations,
Hometown:Guntur
current location: Newyork
I have written some script for downloading ID's for targeting purpose. I have used chrome dev tools to grab ID's of users.
JAVASCRIPT in Browser console helped me to achieve this.
Bookmarklet the javascript code attached here and open that link and click the bookmarklet. Thats it, Page scrolls for some time and a file gets downloaded which contains ID's of the user.
Its just a work around as we dont have an API for this.
Related
I am trying to convert the search results page of the following website into an RSS feed by using feed43.com or Google Apps Script:
https://www.zvg-portal.de/index.php?button=Termine%20suchen&land_abk=by
If I click on search (Suchen), I am forwarded to https://www.zvg-portal.de/index.php?button=Suchen but I can access this search result page neither with feed43.com nor with Google Apps Script. Is there a way to access all search results automatically?
you will have to send a POST request to that page. This basically means, that all the data you filled out in the search form is not transported to the search result page via the URL. therefore, if you copy the URL and paste it anywhere else, all information on what you were actually searching has been lost.
Check if the two tools you mentioned also support POST (instead of GET). if so, you can use chromes or firefox web developer tools (network tab) to show the values that were submitted to the search page and copy them there.
What I am trying to do is to make something similar to what I see all the time on almost any website. The button that says Share to facebook. The goal for me is to let my guests share the item they are viewing in my store (Ran on prestashop) on their blog I run (Running on Oxwall).
The goal is for the button to not only link to a blog post submission webpage but to already have the subject line filled out with the item they are sharing's name and the blog post to display the information about the item. I would like to try and do all this using PHP. I am not sure how to go about doing it but I am sure that I could pass the value. Please note that I can mod BOTH the blog site and the shop as I run both and want to connect them.
As an extra bonus I am also running a forum using phpbb3 if I could do the same thing but onto that as well I would greatly thank you. I am trying to interlink everything into one big network. I know its not an easy task but I am sure there is an easy way to pass data onto the other site so that this can be done.
Facebook a 2 tools to get items informations in the page, it parses the page looking for the most common tags and it uses OpenGraph.
You can also provide product informations in the head of your page (between head tags), then blog side, you retrieve only the contents and parse it as XML.
I advise you to cache this data to avoid useless connections between websites and awful overloads while parsing.
You can use your own specifications, Open Graph or another standard, but i advise to use a standard.
I run ads on my site which are usually YouTube videos. I would like to find out if a user clicked these videos. I'm basically trying to use this data in a statistics plugin that I'm creating.
I've tried searching many different keywords but I can't really find anything.
I would appreciate it if I could be pointed in the right direction. Any ideas, hints or links are welcomed.
As you mention YouTube I doubt you have control over the URL.
But, if you can control the URL embedded in the video, then I would suggest building a simple redirect script on your server. Make sure the URL contains either the redirect URL or a code representing the URL which would be held in your Data Base. Add a logging function to the redirect script and hey presto.
If you have no control over the URL, then off the top of my head maybe you could implement some client side JS to add an overlay to the video which becomes the click-able element and implement the URL redirect script above. Some methods to get the URL from the video: https://www.google.com/search?q=jquery+youtube+URL
I'm creating a site utilizing PHP that draws data from a mySQL database. The content that is drawn is constantly changing and linked to a unique ID. Although a lot of content is pulled on a main page, each facebook-send button links to the contents unique ID on a separate page. I'm passing the information through the URL in the facebook send (ie. link: www.example.com/info.php?id=5 )
My problem is that the send button is not recognizing the Open Graph Meta tags for the page - it displays the wrong picture and wrong title. I've tested with the debugger - and it works for the receiving page (www.example.com/info.php), but not with the added data. That said, once I plug in the full URL with data (www.example.com/info.php?id=5) into the debugger - that page gets crawled & all send buttons linking to that exact URL now populate with the correct picture and title.
Because the content on my site is constantly changing I can't manually have facebook crawl each page of potential URLs with each data ID. Is there a way I can pass data through the URL and have facebook-send button recognize the Open Graph Meta Tags on the receiving page to display for every potential ID? Note: it's just one picture and title I want for all links.
I thank you in advance for your time, I'm slightly new to programming and your help is sincerely appreciated!
We do a lazy crawl, so the first person to Send might not get the image right away, but if you wait 30 seconds and try again it should show up.
i have a php site in development wh runs fine.
i have included a google spreadsheet form in it via the iframe tags that Google ask you to copy and paste
the spreadsheet form is obviously there for users to use.
it would be all be so great but I can't see how to get the users id from the parent page into the google form via the iframe
i need this otherwise i won't know who it is who has submitted the form. yes, I cld ask the user to type in their name again but think that's a bit clunky particularly since the info is floating about in the parent page framing the iframe.
Tom
Why not create a php page which takes the user ID in the query string, then redirects to the correct spreadsheet? Just set that page as the src of your iframe with the proper user id in the query string, and voila.