Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm planning to create a module for my directory which would fetch images from user's website using Google Image Search via this scenario:
User logs in to his account
Enter his website URL
Application request images from domain cached by google
Application displays N amount of images from website offering to link them to his profile
On confirmation, application will copy images to my server
Am I allowed to do that, and would it breach any copyrights?
UPDATE
I presume that person created account in my business directory is owner of that website (it states in Terms and Conditions) and as an owner he is accessing his website. Application would display thumbnails and fetch original image from his website using links from Google results. Does it make any difference?
Disclaimer: IANAL
As long as you only use thumbnails of maximum 80 to 200 pixels in size, then it is considered fair use. I also advise linking the image the source page and mentioning somewhere that the images may be copyright material.
Make sure to use the API, rather than scraping the results page.
You'll find that the Google images results have this disclaimer attached to them: "This image may be subject to copyright." I'd say you'd be in the wrong.
Similar to Facebook, you can use the images to link to those website. You need to mention that these images may be copyright protected. Google cache's the content. And it's image search says, "Image may be subject to copyright"
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I'm aware of the differences between GET and POST (security and caching, in particular). Additionally, when I search this question using Google, I'm only greeted by results telling me how to hack site search in Google Analytics for POST-based engines. I already know how to do that.
What I'm wondering is why employ a POST-based search engine in the first place? What are the salient advantages? I can't imagine why site search queries would need to be secure. So maybe it has something to do with caching?
Thanks so much in advance to anyone who can shed light on this.
No real "answer" to this one - it's entirely up to the site owners choice and/or the options the software they use on their website.
I would however say that there are very valid reasons for search terms to be secure. If you are searching for personal private medical conditions for example, or perhaps your own sexual preferences that you'd prefer not to be widely known. And then there's search terms used in more restrictive countries than you're obviously used to where having a history of those search terms on your computer could get you in very serious trouble.
Google has long restricted search terms from being passed on to the next website in the referrer field for just the reasons.
Advantages of a GET based search page:
Easy to copy and paste link for someone else.
Adds to your web history.
Allows search engine to be implemented in client side (e.g. like Google Custom Search Engine uses with a JavaScript call to Google's main search engine rather than a complicated server side search engine implementation).
Advantages of POST based search pages are mostly to do with security:
Cannot be accidentally shared by copying and pasting URL.
Does not add search terms to web history
Cannot leak search terms in referrer fields for sites you click on. This takes extra effort to do with a GET request (like Google has done) but is default with POST requests.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Is there any solution to protect google analytics from receiving fake information from Spammers ? The problem is anybody can send information by knowing tracking id.
I found the following solution, filter domain. But that's for web and how to implement for mobile app ?
https://blog.kissmetrics.com/protect-analytics-from-hacking/
Thanks
Visible Tracking ID
On a website you can right click, Show source but you can't on a mobile application. Therefore your trying ID can't be find from your clients application. Nonetheless, if your code is pushed to a public repository (Github for example) robots may find it.
Random spammers
Even if your trackingID is kept secret you'll have some bot spamming your account randomly (they try every possible tracking ID). Google added a tool to prevent this: go to Admin > View > View settings > turn on Exclude all hits from known bots and spiders. Then Google will automatically filter hits from the known fake domains.
Hostname security hack
Even with Google's automatic filter you may still see some spam. This can be fixed with what they explain in the link you provided.
In your article they create a custom dimension and use it to filter real data from spam data. You can also use this with your mobile application, the thing is, it does not need to be a host name it just need to be a string only known by you, its sort of a new secret added to your tracking ID (which should already be secret).
This works because bots can handle the try of every trackingID but they can't try every custom dimension with every possible value, it's too much work for them.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I need to know, how we can get pricing list for any valid particular movie. Like in iTunes there are many movies app, which gives pricing for all website for live streaming. How to retrieve that list of pricing.
If I understand your question correctly, you are looking to get iTunes Store Movie Metadata, which include pricing. You can use iTunes Store Search API, which also returns iTunes pricing.
https://itunes.apple.com/search?term=ventura&media=movie
This API call will return JSON response with the following data:
{"wrapperType":"track", "kind":"feature-movie", "trackId":271495352, "artistName":"Steve Oedekerk", "trackName":"Ace Ventura: When Nature Calls", "trackCensoredName":"Ace Ventura: When Nature Calls", "trackViewUrl":"https://itunes.apple.com/us/movie/ace-ventura-when-nature-calls/id271495352?uo=4", "previewUrl":"http://a1567.v.phobos.apple.com/us/r1000/035/Video/39/3b/c3/mzm.idnfqvpl..720w.h264lc.D2.p.m4v", "artworkUrl30":"http://a5.mzstatic.com/us/r30/Video/61/32/8b/mzl.vpqgqzrg.30x30-50.jpg", "artworkUrl60":"http://a2.mzstatic.com/us/r30/Video/61/32/8b/mzl.vpqgqzrg.60x60-50.jpg", "artworkUrl100":"http://a5.mzstatic.com/us/r30/Video/61/32/8b/mzl.vpqgqzrg.100x100-75.jpg", "collectionPrice":9.99, "trackPrice":9.99, "trackRentalPrice":2.99000, "collectionHdPrice":14.99000, "trackHdPrice":14.99000, "trackHdRentalPrice":3.99000, "releaseDate":"2013-10-02T07:00:00Z", "collectionExplicitness":"notExplicit", "trackExplicitness":"notExplicit", "trackTimeMillis":5641183, "country":"USA", "currency":"USD", "primaryGenreName":"Comedy", "contentAdvisoryRating":"PG-13",
"longDescription":"Africa's the place and Ace is on the case, setting out to rescue an animal he loathes: a bat! Jim Carrey (Batman Forever) returns as Ace, the alligator-wrasslin', elephant-calling, monkey-shining, loogie-launching, burning coals-crossing, disguise-mastering pet detective. If you're ready to laugh like a pack of hyenas, if you want more fun than an industrial-sized barrel of monkeys, you know what to do. Heed the call.", "radioStationUrl":"https://itunes.apple.com/station/idra.271495352"}
Be careful of the following parameters:
collectionPrice
trackPrice
trackRentalPrice
collectionHdPrice
trackHdPrice
trackHdRentalPrice
If you are looking for other website streaming prices, I would try to look for the specific API's on service side that would provide you with this information.
The more mature services usually provide REST API's to access it's information. What you are looking to do is basically - creating an abstract pricing layer on top of all available API's. While this answer would be too long going into detail on each and every service, I can give you some information for the sites you mentioned:
Hulu API: https://github.com/adammagana/hulu-php-library
Vudu API: https://github.com/jfx41/vudu
Rotten Tomatoes (Flixster) API: http://developer.rottentomatoes.com/
Amazon API: http://docs.aws.amazon.com/AWSECommerceService/latest/DG/ItemSearch.html
While those links will not solve your problem out of the box, you should be able to get enough information from them to actually understand what can you do.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have an iOS app with Dropbox integration. It's possible to download/upload/preview files, navigation and edit some files. Also I need add box.net integration. How much it can take? And how compatible Dropbox and box.net api?
Can anyone compare developing with Dropbox and box.net?
Dropbox API have different working modes to use it: just upload files as backup, explore the system file, have full access to dropbox, etc.
You can take a look in their web:
https://www.dropbox.com/developers
They have drop ins, which allow you to save to dropbox or load files: https://www.dropbox.com/developers/dropins
Datastore: These days, your app needs to store and sync more than just files. With the Datastore API, structured data like contacts, to-do items, and game state can be synced effortlessly. Datastores support multiple platforms, offline access, and automatic conflict resolution.
https://www.dropbox.com/developers/datastore
Sync API: Work with files on Dropbox through a familiar, file system-like interface. The Sync API takes care of syncing and notifying you of remote changes so your app can respond instantly. It also handles caching, network flakiness, and offline logic so you don't have to.
https://www.dropbox.com/developers/sync
And Core API, which give you the access to everything in the most low level
https://www.dropbox.com/developers/core
About box, they have differents API so they are not compatible. You'll need to manage each thing in different way, but as I can see (I have in mind to implement it too), it works in a similar way to dropbox.
Here you can see all the information: http://developers.box.com/sdks/ and you have a tutorial here: http://developers.box.com/box-ios-sdk-tutorial/
I can't tell you more because I haven't started to implement it.
For box.net you have a kind of open-source framework which includes viewing, editing and uploading files. It has top-notch security by using the same security the company provides you with their website and Box sync (for example the SMS verification by logging in on a new devices).
Box developers site
They also provide a forum where you can ask your questions, also StackOverflow does provide a box.net tag under Box API.
I don't have experience with the Dropbox API, but I guess temporarily storing files will help you cross platforming Box and Dropbox.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a blog on blogspot with url say myblog.blogspot.com. Now its getting around 30,000 page view in a month. I want to change the blog url as myblog.com.
But, I worry that the amount of traffic I have gained till now, will become nil because of new url. Google page rank and alexa rank will go to nil.
So, should I change the domain of my blog or not?
Maybe this Link will help you: How do I use a custom domain
It s a simple forward, so your rankings will not go to nil.
Your original Blogspot address will automatically forward to your new domain. That way, any existing links or bookmarks to your site will still work.
When you migrate from a sub-domain of blogspot to your own domain you must set up proper redirects. The redirects should be the permanent (301) type, not the temporary (302) variety). Permalinks should redirect directly to corresponding permalinks:
http://myblog.blogspot.com/ -> http://myblog.com/
http://myblog.blogspot.com/this-is-a-blog-post -> http://myblog.com/this-is-a-blog-post
You should also make sure you change all your internal links to make sure they don't mention your old sub-domain. If you control any external links, you should change those. You might even consider asking some webmasters to change the external links that point to your blog.
Even if you do the redirects correctly, there is a good chance that you will lose Google traffic for some time. The last time I tried a move from a sub-domain to a full domain (several years ago), I lost about 75% of my Google referrals for about 8 months. After 8 months, Google seemed to trust my new domain again and my traffic came right back.
Google has a change of address tool as part of webmaster tools. It is limited to use on "full-domains" and it won't work in your case because you are starting out on a sub-domain. Google has a help document that goes along with it which you may still find useful.