Questions tagged [codebird]

16 questions
24
votes
3 answers

How to post a tweet using Codebird PHP from pop-up window

I am trying to allow visitors to my site to post a tweet with an image directly from the site. I am using Codebird PHP library to accomplish this. So far everything is working correctly, however there is no preview of the post before it gets posted…
APAD1
  • 13,509
  • 8
  • 43
  • 72
1
vote
1 answer

Getting error code 324 "Not valid video" when using codebird

I'm using the latest version of Codebird to tweet from my site. I'm trying to add the ability to tweet videos, the code successfully tweets images. I can't find anything additional on the web. Here is the…
jbravo556
  • 21
  • 4
1
vote
0 answers

Twitter Video share using CodeBird API

I'm trying to share a video to Twitter Account but getting a response like below stdClass Object ( [request] => /1.1/media/upload.json [error] => Segments do not add up to provided total file size. [httpstatus] => 400 [rate] => stdClass Object (…
Ramya.K
  • 19
  • 5
1
vote
1 answer

Getting ERROR ReferenceError: userAgent is not defined, in angular 4 production build (Angular 4)

Hi iam developing a project in angular 4, it is working fine in local and with develop environments. but when im doing prod build build was generated. but some errors were throwing in front end console. below are the config details: "apps": [ …
Chinna M
  • 415
  • 2
  • 4
  • 17
1
vote
0 answers

Codebird library code works outside, but not inside a function

I want to make a function that will send automatic tweet when ever I publish some post on WordPress website. So I have included Codebird library inside functions.php, but I have problem with creating a function for tweeting. The tweeting function…
Petar Popovic
  • 575
  • 6
  • 20
1
vote
1 answer

Codebird search multiple terms

I want to know how to search multiple terms in codebird using the search_tweets method. Here is my code, I added OR in between every search term i wanted as it says in the Twitter Search API but it doesn't find any tweets $params =…
ItzBulkDev
  • 40
  • 5
0
votes
0 answers

Can't get Codebird PHP to finally post Twitter video

I am using Codebird as part of a backend process to allow admins to Tweet from within their application. The code I am using executes but always seems to return "pending status" even when given a full minute to allow for Twitter processes to…
pgplast
  • 1
  • 1
0
votes
0 answers

Codebird invalid or expired token

I'm having troubles posting to twitter with codebird. This is the error message that I get when I log $reply. [code] => 89 [message] => Invalid or expired token. This is my code require_once __DIR__ .…
ivan marchenko
  • 401
  • 1
  • 4
  • 15
0
votes
1 answer

how to retrieve twitter user email using codebird.php

Is there a way I can request twitter user email address, avartarURL using codebird.php Currently, I only get the screen name. What I am doing is: $reply = $this->client->oauth_requestToken(array('oauth_callback' => $this->clientCallback)); The…
0
votes
2 answers

Twitter Codebird Webhook Registration Not Working

Actually I want to register a webhook for Twitter.For this purpose I'm using codebird.But while trying to register the webhook and the response as "httpstatus : 403" $url = 'https:///webhook/twitter_webhook'; $params =…
ArunJaganathan
  • 695
  • 2
  • 7
  • 20
0
votes
1 answer

Using Short Urls When Posting Tweets With CodeBird (PHP)

I'm currently using CodeBird to post tweets via PHP on my website. I've been using Bit.ly to post short URLS within those tweets. I would prefer to use the t.co short links that twitter creates but I am unsure how to do…
Born2DoubleUp
  • 109
  • 1
  • 10
0
votes
1 answer

Getting auth token and auth token secret with twitter API

I am trying to give the tweeter posting UI from my website for users who has twitter account and post tweet into their home page. In addition I like to give access to webcam to cartoonize their face and put that image with the tweet. (my main target…
Elshan
  • 7,339
  • 4
  • 71
  • 106
0
votes
0 answers

How to only advance after array has been filled in JavaScript

So I'm using codebird-js to interact with the twitter API in JavaScript, but the limit on tweets the api fetches at a certain time is 100. Because of this, I need to make consecutive calls to the API but change the "max_id" parameter to shift the…
codeitup
  • 55
  • 8
0
votes
1 answer

Include codebird in angular2 project

I want to include codebird in angular2 project. I am using angular-cli. The issue is that I have integrated codebird js module but while building I get this error - 'Cannot read property provide of null'. Can someone give the step by step procedure…
Keshav Dhawan
  • 29
  • 1
  • 6
0
votes
0 answers

JavaScript upload image and convert to base64 using toDataURL and pass as a parameter

I have this input to upload an image: Then I have a Codebird postTweet() function, var img64 is to convert it to base64 and strip it of its MIME types, but this is not working with "img.toDataURL()".…
knights
  • 1
  • 2
1
2