GithubHelp home page GithubHelp logo

Comments (4)

yorkie avatar yorkie commented on August 18, 2024

@rengasahusoft could you give the specific version and an complete example code to show this problem, thanks :-)

from react-native-wechat.

renganatha10 avatar renganatha10 commented on August 18, 2024

@yorkie vesion 1.4.6

before calling this i am calling the api to register this app

let result = await WeChat.shareToTimeline({
type: 'imageUrl',
title: 'web image',
description: 'share web image to time line',
mediaTagName: 'email signature',
messageAction: undefined,
messageExt: undefined,
imageUrl: 'http://res.cloudinary.com/hbp3fdj8n/image/upload/v1466676197/dtjyyhdzserksbd6c7lv.jpg'
});
console.log('share image url to time line successful:', result);
} catch (e) {
console.log('share image url to time line failed with:', e);
}

from react-native-wechat.

renganatha10 avatar renganatha10 commented on August 18, 2024

type : imageUrl doesn't work
use type : imageFile object cofiguration - it works fine

from react-native-wechat.

yorkie avatar yorkie commented on August 18, 2024

Could you try with the new release v1.5.1 for imageUrl, because I used the react-native's new NSURIRequest for that, thank you :-)

from react-native-wechat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.