Comments (7)
Hi, @rajenpal033
Yes, the next release will come with the ability to reset passwords and invitations by email. I think it will be done on Monday.
from php-pinterest-bot.
Thanks for your information, but it seems to be many functions for pins, boards, pinners, search etc. not working getting blank response. is there any reason?
Thanks.
from php-pinterest-bot.
Can you give an example, what functions don't work?
from php-pinterest-bot.
$bot->pins->info(pintId);
$bot->pins->search('wedding'); (this was working few hours ago)
$bot->pins->comment(pintId, 'nice one!');
and almost other functions from pins, boards as in like, repin etc. and the strange this is even the search is not working. But it's not like all are's working, some like user->profile, boards->forUser these are working fine. I just modified one of your file to save and fetch cookie, in CurlHttpClient.php file as following:
protected function initCookieFile($username){
$mainDir = dirname(FILE).DIRECTORY_SEPARATOR.'data'.DIRECTORY_SEPARATOR.$username;
if(!is_dir($mainDir)){
mkdir($mainDir, 0755);
}
if(empty($username)) {
return tempnam($mainDir, self::COOKIE_PREFIX);
}
$cookieName = self::COOKIE_PREFIX . $username;
$cookieFilePath = $mainDir . DIRECTORY_SEPARATOR . $cookieName;
if (!file_exists($cookieFilePath)) {
touch($cookieFilePath);
}
return $cookieFilePath;
}
Let me know.
Thanks in advance.
from php-pinterest-bot.
- If you use FILE, there is no such constant in php, try to use FILE
- If out have your own FILE constant, I think your $mainDir doesn't have permissions and bot can't save cookie files.
from php-pinterest-bot.
update to the latest release (4.13.0) and you can send invites like this:
$bot->user->invite($email);
To change cookies storage path you can use this method:
$bot->getHttpClient()->setCookiesPath($customPath);
from php-pinterest-bot.
Thanks @seregazhuk
from php-pinterest-bot.
Related Issues (20)
- Create APP and Get Token
- Problem to create a new pin HOT 6
- [Invalid email.] When Registering Pinterest
- Здравствуйте.
- Registration error: Invalid parameters. HOT 2
- account banned HOT 1
- how can be scheduled images to go live at a later date on pinterest using api in php? HOT 1
- Keywords recommend not working anymore HOT 1
- Can we create a pin with access_token?
- Domain Spam or Blocked Check?
- Error when create acc
- is it possible to add multiple keywords ? HOT 4
- Pinterest rate limits HOT 2
- Get Boards Return Empty
- Observing the PhP Fatal Error again with the v5.9.1 HOT 9
- Can you please help me to use the edit command ?
- Your requirements could not be resolved to an installable set of packages.
- Autoloader issue
- Login method not working HOT 9
- Is this project dead? Cannot connect Pinterest Account.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-pinterest-bot.