zyra / cordova-plugin-pinterest Goto Github PK
View Code? Open in Web Editor NEWCordova plugin for Pinterest
License: MIT License
Cordova plugin for Pinterest
License: MIT License
Successfully logged in Pinterest on iOS
Successfully fetched Pinterest boards list on iOS
But can not create new pin
createPin(note, boardId, imageUrl, link, onSuccess, onError)
and also no callback is called(neither onSuccess nor onError)
my actual code
cordova.plugins.Pinterest.createPin(
"Heloo there",
"807551845621954609",
"https://ichef-1.bbci.co.uk/news/660/cpsprodpb/1325A/production/_88762487_junk_food.jpg" ,
"www.google.com",
function(result){
alert("Succesfully pinned your post")
},
function(error){
alert("Error while pinning your post")
})
The same code is working absolutely fine on android.
This is the screenshot of pinterest website(I successfully pinned it from android emulator using above code) :
ionic Version : 1.3.1
please ask for any other information required.
SSKeychain is deprecated in favor of SAMKeychain and triggers build errors.
Is it possible to update the pod file to use SAMKeychain instead of SSKeychain? Usage is the same..
On making the login request, the app opens up browser with the following URL returns a response which mentions the redirect_uri doesn't match the registered URIs. (Happens when Pinterest Android APP is not installed)
https://api.pinterest.com/oauth/?client_id=+4926105309897833856&scope=read_public&redirect_uri=pdk+4926105309897833856%3A%2F%2F&response_type=token
{ status: "failure", message: "You are not permitted to access that resource.", code: 7, data: "The provided redirect_uri pdk 4926105309897833856:// does not match any of the registered redirect URIs." }
The pinterest currently allows only the redirect URIs which uses https:// protocol. While the redirect URI from the below request has something like pdk+4926105309897833856%3A%2F%2F. So the login is not working.
Hi, I am testing the plugin, can your please tell me how to logout from Ionic Cordova Angular2 integration? Only the first time I got the login screen, after thar 1st time the logged user profile is loaded automatically
I can't find a way to provide imageUrl for the image that I have captured using :
cordova-plugin-camera
I tried passing the FILE_URI provided by this plugin, but I got this error :
message: "Parameter 'image_url' (value file:///storage/emulated/0/Android/data/com.xyzapp.ghera/cache/1511345813897.jpg) is not a valid URL format."
param: "image_url"
type: "api"
I tried passing the whole binary value from DATA_URL of image but that also resulted in error.
But when I provided a url from internet it worked.
Please tell me how can I provide image_url of the image from my device
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.