Wikidata:Requests for permissions/Bot/TedNye
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
- Not done @Tednye: This request seems to be abandoned, please reopen it if that is not the case. Thanks. Mike Peel (talk) 20:39, 21 July 2020 (UTC)[reply]
TedNye (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Tednye (talk • contribs • logs)
I am studying migration patterns of people from Europe to USA. I want to query Wikidata using PHP.
Code:
Function details: --Tednye (talk) 03:16, 18 September 2019 (UTC)[reply]
- For queries no bot flag is needed. That's for (mass) edits. Lymantria (talk) 10:49, 18 September 2019 (UTC)[reply]
My get_file_contents are denied because I dont have sufficient permissions. What is the remedy for this?
- What's the URL you're trying to retrieve? Mbch331 (talk) 20:19, 21 September 2019 (UTC)[reply]
Using PHP file_get_contents('https://www.wikidata.org/wiki/Q22686') will not return the page I can extract the page using a tool but I want to do programatically
- What is the IP-address of the server you are using? I tested it and I can get the content of the page. Mbch331 (talk) 07:29, 22 September 2019 (UTC)[reply]
My home IP address is:99.226.235.1
The goDaddy servers are 184.168.205.1, 184.168.40.1
My usage will be medium less than 100,000 queries per month
http://hanf.cash/extract2019/ produces error: SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in $buffer = file_get_contents('https://www.wikidata.org/wiki/Q22686');
Can someone guide me here. Is it my server's IP address 184.168.205.1 that is the problem?